Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 172.2 kB / 16.8 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240.8 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007427/0.0007426, allocations: 96.61 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04285/0.04285, allocations: 8.102 MB / 351.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 19 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09479, allocations: 52.51 MB / 466.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.3925, allocations: 79.35 MB / 0.5334 GB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3927, allocations: 63.16 kB / 0.5335 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.4143, allocations: 8.493 MB / 0.5418 GB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4144, allocations: 0 / 0.5418 GB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4144, allocations: 4 kB / 0.5418 GB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0015/0.4159, allocations: 0.6543 MB / 0.5424 GB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.416, allocations: 11.88 kB / 0.5424 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.416, allocations: 28.66 kB / 0.5425 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.4164, allocations: 276.2 kB / 0.5427 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4164, allocations: 15.75 kB / 0.5427 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.4164, allocations: 23.06 kB / 0.5428 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.4169, allocations: 290 kB / 0.543 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4169, allocations: 192 / 0.543 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.4169, allocations: 13 kB / 0.5431 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4169, allocations: 4 kB / 0.5431 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.4173, allocations: 276.5 kB / 0.5433 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4189, allocations: 1.119 MB / 0.5444 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.4198, allocations: 462.3 kB / 0.5449 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.42, allocations: 176.5 kB / 0.545 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.4201, allocations: 7.984 kB / 0.545 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4201, allocations: 43.44 kB / 0.5451 GB, free: 12.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.4201, allocations: 4 kB / 0.5451 GB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002819/0.423, allocations: 0.9595 MB / 0.546 GB, free: 11.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.423, allocations: 55.41 kB / 0.5461 GB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4233, allocations: 229.9 kB / 0.5463 GB, free: 11.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4233, allocations: 32.83 kB / 0.5463 GB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.4234, allocations: 144.5 kB / 0.5465 GB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.4235, allocations: 105.6 kB / 0.5466 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.4235, allocations: 4 kB / 0.5466 GB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4236, allocations: 330.8 kB / 0.5469 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4239, allocations: 159.8 kB / 0.547 GB, free: 10.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.4241, allocations: 152 kB / 0.5472 GB, free: 10.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.4245, allocations: 330.5 kB / 0.5475 GB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4245, allocations: 3.938 kB / 0.5475 GB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001309/0.4259, allocations: 0.603 MB / 0.5481 GB, free: 9.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4259, allocations: 11.94 kB / 0.5481 GB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4259, allocations: 0 / 0.5481 GB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4269, allocations: 248.6 kB / 0.5483 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4271, allocations: 39.97 kB / 0.5484 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.4307, allocations: 2.541 MB / 0.5508 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4309, allocations: 19.84 kB / 0.5509 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.4309, allocations: 11.98 kB / 0.5509 GB, free: 6.668 MB / 362.7 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.4311, allocations: 138.4 kB / 0.551 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.4312, allocations: 23.72 kB / 0.551 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.4326, allocations: 0.6222 MB / 0.5516 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4326, allocations: 4 kB / 0.5516 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.4326, allocations: 0 / 0.5516 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4326, allocations: 0 / 0.5516 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.4344, allocations: 1.092 MB / 0.5527 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4345, allocations: 0 / 0.5527 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4346, allocations: 39.92 kB / 0.5527 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009346/0.4355, allocations: 245.1 kB / 0.553 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.4356, allocations: 8 kB / 0.553 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.4387, allocations: 2.5 MB / 0.5554 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4387, allocations: 0 / 0.5554 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.44, allocations: 0.6446 MB / 0.5561 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.4401, allocations: 116.7 kB / 0.5562 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.4402, allocations: 15.94 kB / 0.5562 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.4404, allocations: 19.92 kB / 0.5562 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.4405, allocations: 23.95 kB / 0.5562 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4405, allocations: 8 kB / 0.5562 GB, free: 0.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4407, allocations: 175 kB / 0.5564 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4407, allocations: 0 / 0.5564 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.4411, allocations: 115.9 kB / 0.5565 GB, free: 0.6328 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.4413, allocations: 111.5 kB / 0.5566 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.4424, allocations: 0.5609 MB / 0.5572 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4425, allocations: 3.984 kB / 0.5572 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.4432, allocations: 414.3 kB / 0.5576 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.4436, allocations: 23.94 kB / 0.5576 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.4445, allocations: 0.5868 MB / 0.5582 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4448, allocations: 0.7527 MB / 0.5589 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.445, allocations: 25.92 kB / 0.5589 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.445, allocations: 27.42 kB / 0.5589 GB, free: 14.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.445, allocations: 0 / 0.5589 GB, free: 14.06 MB / 378.7 MB Notification: Performance of Templates: time 0.009628/0.4547, allocations: 5.766 MB / 0.5646 GB, free: 8.332 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)