Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 106.8 kB / 17.13 MB, free: 5.934 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.001116/0.001116, allocations: 191.1 kB / 18.06 MB, free: 5.023 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.369/1.369, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04917/0.04917, allocations: 8.097 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 415.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08048/0.08168, allocations: 51.52 MB / 466.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002434/0.08416, allocations: 0.8583 MB / 467.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.08598, allocations: 1.298 MB / 468.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.0861, allocations: 4 kB / 468.8 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.08647, allocations: 51.91 kB / 468.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.0867, allocations: 39.72 kB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.08758, allocations: 362.5 kB / 469.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.08776, allocations: 71.66 kB / 469.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.08791, allocations: 31.95 kB / 469.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.08797, allocations: 35.84 kB / 469.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.08814, allocations: 43.78 kB / 469.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.08817, allocations: 4 kB / 469.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.08842, allocations: 99.89 kB / 469.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.08846, allocations: 23.92 kB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.08852, allocations: 35.78 kB / 469.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.08884, allocations: 151.5 kB / 469.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.08885, allocations: 0 / 469.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08886, allocations: 0 / 469.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.08887, allocations: 0 / 469.8 MB, free: 15.07 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001108/0.08998, allocations: 435.2 kB / 470.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.09004, allocations: 11.89 kB / 470.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.09011, allocations: 12.84 kB / 470.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.09036, allocations: 188.1 kB / 470.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.09038, allocations: 4.375 kB / 470.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.0904, allocations: 4.375 kB / 470.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.09061, allocations: 94.09 kB / 470.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.09063, allocations: 192 / 470.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.09067, allocations: 15.88 kB / 470.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.09068, allocations: 0 / 470.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.09081, allocations: 75.97 kB / 470.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.09152, allocations: 388.5 kB / 471 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.09187, allocations: 102.7 kB / 471.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.09194, allocations: 32.84 kB / 471.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.09198, allocations: 4 kB / 471.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.09203, allocations: 38.5 kB / 471.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.09203, allocations: 0 / 471.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006576/0.0927, allocations: 247.6 kB / 471.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.09274, allocations: 51.41 kB / 471.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.09292, allocations: 138 kB / 471.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.09295, allocations: 29.7 kB / 471.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.09303, allocations: 99.95 kB / 471.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.09306, allocations: 31.58 kB / 471.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.09313, allocations: 21.7 kB / 471.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.09329, allocations: 318.8 kB / 472.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.09336, allocations: 35.92 kB / 472.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.09342, allocations: 35.98 kB / 472.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.09353, allocations: 68.84 kB / 472.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.09355, allocations: 4 kB / 472.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002933/0.09384, allocations: 146.4 kB / 472.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.09387, allocations: 8 kB / 472.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.09388, allocations: 0 / 472.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.09414, allocations: 36.77 kB / 472.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.09422, allocations: 11.94 kB / 472.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.09551, allocations: 1.449 MB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.09561, allocations: 8.141 kB / 473.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.09563, allocations: 4.031 kB / 473.9 MB, free: 10.58 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.09574, allocations: 121.7 kB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.09579, allocations: 11.91 kB / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.09609, allocations: 122.9 kB / 474.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.0961, allocations: 7.922 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.09611, allocations: 0 / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.09618, allocations: 92.95 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.0962, allocations: 288 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.09633, allocations: 19.86 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.09637, allocations: 4 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000301/0.09667, allocations: 181.8 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002551/0.09694, allocations: 290.6 kB / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.669e-05/0.097, allocations: 20.03 kB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.0971, allocations: 115.2 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Backend: time 7.82e-07/0.09711, allocations: 0 / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.09793, allocations: 297.1 kB / 475.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006956/0.09864, allocations: 0.6623 MB / 475.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Templates: time 0.005458/0.1041, allocations: 2.248 MB / 478 MB, free: 6.285 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)