Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 117.3 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.001198/0.001198, allocations: 190.9 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.303/1.303, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04868/0.04868, allocations: 8.098 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001159, allocations: 67.89 kB / 415.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07947, allocations: 51.52 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002719/0.08221, allocations: 1.774 MB / 468.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.0841, allocations: 1.465 MB / 469.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.08425, allocations: 8 kB / 469.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.08462, allocations: 131.3 kB / 470.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.08492, allocations: 99.34 kB / 470.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.08656, allocations: 0.9334 MB / 471.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.08688, allocations: 238.8 kB / 471.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.0871, allocations: 123.7 kB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.08721, allocations: 99.64 kB / 471.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.08742, allocations: 143.4 kB / 471.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.08746, allocations: 20 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.08783, allocations: 211.8 kB / 471.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.08788, allocations: 51.78 kB / 472 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.088, allocations: 123.4 kB / 472.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.08851, allocations: 410.8 kB / 472.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08852, allocations: 0 / 472.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.08853, allocations: 0 / 472.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.08854, allocations: 0 / 472.5 MB, free: 12.35 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00211/0.09065, allocations: 0.7646 MB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.0907, allocations: 11.89 kB / 473.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.09077, allocations: 24.66 kB / 473.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.09101, allocations: 243.9 kB / 473.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.09104, allocations: 24.94 kB / 473.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.09109, allocations: 32.34 kB / 473.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.09156, allocations: 297.3 kB / 473.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.09158, allocations: 3.938 kB / 473.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.09161, allocations: 8 kB / 473.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.09163, allocations: 8 kB / 473.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.09205, allocations: 290.1 kB / 474.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.09341, allocations: 0.889 MB / 475 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.0939, allocations: 282.5 kB / 475.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.09409, allocations: 133.3 kB / 475.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.09413, allocations: 7.938 kB / 475.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.09417, allocations: 42.56 kB / 475.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.09417, allocations: 0 / 475.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001149/0.09533, allocations: 0.5195 MB / 476 MB, free: 8.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.09536, allocations: 55.41 kB / 476.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.09551, allocations: 165 kB / 476.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.09554, allocations: 29.7 kB / 476.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.09563, allocations: 156.2 kB / 476.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.09569, allocations: 86.69 kB / 476.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.09579, allocations: 61.69 kB / 476.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09591, allocations: 330.8 kB / 476.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.09611, allocations: 128 kB / 477 MB, free: 7.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.09631, allocations: 132 kB / 477.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.09671, allocations: 289.1 kB / 477.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.09672, allocations: 0 / 477.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007175/0.09744, allocations: 402 kB / 477.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.09747, allocations: 8 kB / 477.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.09748, allocations: 4 kB / 477.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.09776, allocations: 52.81 kB / 477.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.09805, allocations: 59.91 kB / 477.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.09953, allocations: 1.543 MB / 479.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.09973, allocations: 19.78 kB / 479.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.09976, allocations: 20.14 kB / 479.5 MB, free: 4.91 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 (35): * Single equations (assignments): 34 * 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.0001266/0.0999, allocations: 137.7 kB / 479.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.09995, allocations: 15.81 kB / 479.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000719/0.1007, allocations: 351.7 kB / 480 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1007, allocations: 3.984 kB / 480 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1007, allocations: 0 / 480 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1008, allocations: 104.8 kB / 480.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1008, allocations: 4 kB / 480.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.101, allocations: 7.938 kB / 480.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.101, allocations: 11.98 kB / 480.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007768/0.1018, allocations: 405.5 kB / 480.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006257/0.1024, allocations: 0.547 MB / 481.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001461/0.1026, allocations: 108 kB / 481.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.1027, allocations: 128.9 kB / 481.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.1027, allocations: 0 / 481.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1038, allocations: 0.4929 MB / 481.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of SimCode: time 0.001041/0.1049, allocations: 0.8301 MB / 482.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Templates: time 0.008965/0.1138, allocations: 4.916 MB / 487.6 MB, free: 12.74 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)