Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.6 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 194.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.02 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 458.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 58.04 MB / 0.5048 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008001/0.2892, allocations: 7.438 MB / 0.512 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007572/0.2968, allocations: 5.22 MB / 0.5171 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.2977, allocations: 31.09 kB / 0.5172 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.3105, allocations: 5.744 MB / 0.5228 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3129, allocations: 0.7009 MB / 0.5234 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3145, allocations: 0.5169 MB / 0.524 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.3187, allocations: 2.632 MB / 0.5265 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.3207, allocations: 1.357 MB / 0.5278 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.3222, allocations: 0.7974 MB / 0.5286 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.3235, allocations: 0.924 MB / 0.5295 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.3238, allocations: 144.9 kB / 0.5297 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3251, allocations: 0.6659 MB / 0.5303 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006675/0.3258, allocations: 0.6525 MB / 0.531 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009416/0.3268, allocations: 0.7578 MB / 0.5317 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.3294, allocations: 2.209 MB / 0.5339 GB, free: 7.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3294, allocations: 0 / 0.5339 GB, free: 7.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3294, allocations: 0 / 0.5339 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.3294, allocations: 0 / 0.5339 GB, free: 7.547 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004472/0.3339, allocations: 1.947 MB / 0.5358 GB, free: 6.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.334, allocations: 12.36 kB / 0.5358 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.3347, allocations: 176.8 kB / 0.5359 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.337, allocations: 1.054 MB / 0.537 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.3372, allocations: 181.6 kB / 0.5371 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.3374, allocations: 115.2 kB / 0.5372 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.3409, allocations: 1.86 MB / 0.5391 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.341, allocations: 2.75 kB / 0.5391 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.3411, allocations: 41.61 kB / 0.5391 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.3414, allocations: 128.5 kB / 0.5392 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.3444, allocations: 1.603 MB / 0.5408 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008968/0.3534, allocations: 5.722 MB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.356, allocations: 1.191 MB / 0.5475 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.3576, allocations: 0.7425 MB / 0.5483 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.3576, allocations: 13 kB / 0.5483 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.3595, allocations: 0.9846 MB / 0.5492 GB, free: 10.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 2.865e-06/0.3595, allocations: 0 / 0.5492 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=119): time 0.009981/0.3695, allocations: 4.669 MB / 0.5538 GB, free: 5.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.3696, allocations: 127.8 kB / 0.5539 GB, free: 5.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.3706, allocations: 0.7859 MB / 0.5547 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.3707, allocations: 53.7 kB / 0.5547 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.3711, allocations: 0.5037 MB / 0.5552 GB, free: 4.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.3714, allocations: 410.3 kB / 0.5556 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.3718, allocations: 242.8 kB / 0.5559 GB, free: 3.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.372, allocations: 418.7 kB / 0.5563 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3731, allocations: 0.6943 MB / 0.5569 GB, free: 2.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3743, allocations: 0.9686 MB / 0.5579 GB, free: 1.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.3765, allocations: 1.678 MB / 0.5595 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3765, allocations: 8 kB / 0.5595 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003906/0.3804, allocations: 2.317 MB / 0.5618 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.3805, allocations: 61.67 kB / 0.5618 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3805, allocations: 8 kB / 0.5619 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.3819, allocations: 413.6 kB / 0.5622 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.3828, allocations: 223.5 kB / 0.5625 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/0.3909, allocations: 6.245 MB / 0.5686 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3921, allocations: 95.89 kB / 0.5687 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.3924, allocations: 83.94 kB / 0.5687 GB, free: 6.004 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0008956/0.3933, allocations: 465.3 kB / 0.5692 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.3936, allocations: 106.7 kB / 0.5693 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.3979, allocations: 1.954 MB / 0.5712 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.3979, allocations: 7.969 kB / 0.5712 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3979, allocations: 0 / 0.5712 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/0.3986, allocations: 315.6 kB / 0.5715 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.3989, allocations: 83.89 kB / 0.5716 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4, allocations: 119.8 kB / 0.5717 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4002, allocations: 76.88 kB / 0.5718 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005228/0.4054, allocations: 2.033 MB / 0.5737 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005076/0.4105, allocations: 2.734 MB / 0.5764 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001472/0.412, allocations: 0.7611 MB / 0.5772 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007826/0.4128, allocations: 0.5419 MB / 0.5777 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Backend: time 4.31e-07/0.4128, allocations: 0 / 0.5777 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004904/0.4177, allocations: 2.223 MB / 0.5799 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 0.004972/0.4227, allocations: 3.417 MB / 0.5832 GB, free: 7.152 MB / 446.1 MB Notification: Performance of Templates: time 0.03526/0.458, allocations: 22.43 MB / 0.6051 GB, free: 0.8789 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1)