Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.2 kB / 17.74 MB, free: 5.355 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.001436/0.001436, allocations: 182.5 kB / 18.67 MB, free: 4.438 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.88 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 58.05 MB / 0.5048 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005465/0.2988, allocations: 5.388 MB / 0.51 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.3034, allocations: 4.152 MB / 0.5141 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.3037, allocations: 19.69 kB / 0.5141 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008951/0.3127, allocations: 4.854 MB / 0.5188 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.3134, allocations: 343.3 kB / 0.5192 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.3141, allocations: 245 kB / 0.5194 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.316, allocations: 1.566 MB / 0.5209 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.3165, allocations: 390 kB / 0.5213 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.3169, allocations: 386.2 kB / 0.5217 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.3175, allocations: 433.5 kB / 0.5221 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.3176, allocations: 46.19 kB / 0.5221 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.3179, allocations: 124.4 kB / 0.5223 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.3182, allocations: 274.7 kB / 0.5225 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.3185, allocations: 325.1 kB / 0.5228 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.3193, allocations: 0.7426 MB / 0.5235 GB, free: 13.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3193, allocations: 0.5625 kB / 0.5235 GB, free: 13.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3193, allocations: 0 / 0.5235 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3194, allocations: 1.562 kB / 0.5235 GB, free: 13.74 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001622/0.321, allocations: 0.9176 MB / 0.5244 GB, free: 13.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.321, allocations: 12.55 kB / 0.5245 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.3215, allocations: 92.12 kB / 0.5245 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.3225, allocations: 0.5522 MB / 0.5251 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.3226, allocations: 35.27 kB / 0.5251 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.3227, allocations: 55.94 kB / 0.5252 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.3236, allocations: 0.6492 MB / 0.5258 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3236, allocations: 1.375 kB / 0.5258 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.3237, allocations: 20.42 kB / 0.5258 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.3238, allocations: 48.89 kB / 0.5259 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.3246, allocations: 494.6 kB / 0.5263 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.3279, allocations: 2.521 MB / 0.5288 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3283, allocations: 316.9 kB / 0.5291 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3286, allocations: 191.6 kB / 0.5293 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3286, allocations: 3.812 kB / 0.5293 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3287, allocations: 37.66 kB / 0.5293 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.3287, allocations: 4 kB / 0.5293 GB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00235/0.331, allocations: 1.626 MB / 0.5309 GB, free: 8.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3311, allocations: 111.1 kB / 0.531 GB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.3315, allocations: 426.3 kB / 0.5314 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3315, allocations: 35.14 kB / 0.5315 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3317, allocations: 309.1 kB / 0.5318 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3318, allocations: 122.3 kB / 0.5319 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.332, allocations: 88.91 kB / 0.532 GB, free: 7.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3321, allocations: 367.2 kB / 0.5323 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3324, allocations: 161.4 kB / 0.5325 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.3327, allocations: 299.8 kB / 0.5328 GB, free: 7.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.3333, allocations: 489.4 kB / 0.5332 GB, free: 6.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3333, allocations: 5 kB / 0.5332 GB, free: 6.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.3346, allocations: 0.7966 MB / 0.534 GB, free: 6.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3347, allocations: 6.594 kB / 0.534 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3347, allocations: 4.531 kB / 0.534 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.3353, allocations: 208.7 kB / 0.5342 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.3356, allocations: 79.95 kB / 0.5343 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.34, allocations: 4.23 MB / 0.5384 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3403, allocations: 20.28 kB / 0.5384 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.3403, allocations: 23.36 kB / 0.5385 GB, free: 2.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.3406, allocations: 231.1 kB / 0.5387 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.3407, allocations: 45.56 kB / 0.5387 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.3416, allocations: 0.6362 MB / 0.5393 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3416, allocations: 5.172 kB / 0.5394 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3416, allocations: 4.031 kB / 0.5394 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3418, allocations: 146 kB / 0.5395 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.3419, allocations: 7.812 kB / 0.5395 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3421, allocations: 12.55 kB / 0.5395 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.3422, allocations: 27.84 kB / 0.5395 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/0.3434, allocations: 0.728 MB / 0.5403 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009284/0.3443, allocations: 0.9072 MB / 0.5411 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002317/0.3446, allocations: 169.7 kB / 0.5413 GB, free: 268 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.3449, allocations: 295.4 kB / 0.5416 GB, free: 84 kB / 398.1 MB Notification: Performance of Backend: time 7.61e-07/0.3449, allocations: 4.062 kB / 0.5416 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3465, allocations: 0.7363 MB / 0.5423 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 0.002245/0.3488, allocations: 1.938 MB / 0.5442 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01279/0.3616, allocations: 7.68 MB / 0.5517 GB, free: 7.547 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches