Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 114.7 kB / 17.14 MB, free: 5.91 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.001163/0.001163, allocations: 195.3 kB / 18.07 MB, free: 4.996 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.322/1.322, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04616/0.04616, allocations: 8.104 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07602/0.07722, allocations: 51.52 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002502/0.07975, allocations: 1.558 MB / 468.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.08169, allocations: 1.547 MB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.08181, allocations: 4 kB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.08216, allocations: 123.3 kB / 469.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.08247, allocations: 115.3 kB / 470 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.08407, allocations: 0.9178 MB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.08439, allocations: 238.8 kB / 471.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.08455, allocations: 80.34 kB / 471.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.08467, allocations: 95.64 kB / 471.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.08486, allocations: 127.4 kB / 471.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.08491, allocations: 20 kB / 471.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.08526, allocations: 203.8 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.08531, allocations: 51.77 kB / 471.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.08542, allocations: 115.4 kB / 471.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.08589, allocations: 382.9 kB / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.0859, allocations: 7.938 kB / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08591, allocations: 0 / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.08592, allocations: 0 / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002346/0.08827, allocations: 0.8072 MB / 473 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.08831, allocations: 11.89 kB / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.08838, allocations: 24.66 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.08868, allocations: 267.8 kB / 473.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.08871, allocations: 16.7 kB / 473.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.08876, allocations: 16.38 kB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.08917, allocations: 260 kB / 473.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.08919, allocations: 4.188 kB / 473.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.08922, allocations: 15.94 kB / 473.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.08924, allocations: 4 kB / 473.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.0896, allocations: 239.9 kB / 473.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.09101, allocations: 1.117 MB / 475 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.09168, allocations: 306.5 kB / 475.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.09191, allocations: 158.1 kB / 475.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.09197, allocations: 15.92 kB / 475.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.092, allocations: 34.56 kB / 475.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.092, allocations: 0 / 475.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00315/0.09516, allocations: 0.9826 MB / 476.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.0952, allocations: 55.41 kB / 476.5 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.09541, allocations: 190.4 kB / 476.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.09545, allocations: 33.7 kB / 476.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.09553, allocations: 132.4 kB / 476.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.0956, allocations: 82.73 kB / 477 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.09572, allocations: 65.69 kB / 477 MB, free: 7.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.09583, allocations: 326.8 kB / 477.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.09608, allocations: 163.9 kB / 477.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.09631, allocations: 164.9 kB / 477.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.09683, allocations: 346.4 kB / 478 MB, free: 6.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09684, allocations: 0 / 478 MB, free: 6.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001554/0.0984, allocations: 0.6381 MB / 478.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.09843, allocations: 7.938 kB / 478.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.09844, allocations: 4 kB / 478.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.09984, allocations: 324.5 kB / 479 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1, allocations: 43.97 kB / 479 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.104, allocations: 2.743 MB / 481.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1042, allocations: 27.73 kB / 481.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.1043, allocations: 15.94 kB / 481.8 MB, free: 2.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1044, allocations: 133.8 kB / 481.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.1045, allocations: 19.81 kB / 481.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.106, allocations: 0.6209 MB / 482.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1061, allocations: 4 kB / 482.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1061, allocations: 4 kB / 482.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.1061, allocations: 105 kB / 482.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1062, allocations: 8 kB / 482.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1064, allocations: 11.88 kB / 482.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1064, allocations: 35.88 kB / 482.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/0.1078, allocations: 0.5878 MB / 483.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007328/0.1086, allocations: 0.6277 MB / 484 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001915/0.1088, allocations: 128 kB / 484.1 MB, free: 196 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1089, allocations: 159 kB / 484.2 MB, free: 36 kB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.1089, allocations: 0 / 484.2 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.1106, allocations: 0.6569 MB / 484.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008878/0.1115, allocations: 0.9275 MB / 485.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.1224, allocations: 6.793 MB / 492.6 MB, free: 7.621 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)