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/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 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.0008279/0.0008281, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 181 kB / 16.96 MB, free: 6.895 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.585/1.585, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2281/0.2281, allocations: 8.081 MB / 300.2 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004102, allocations: 12 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 52.5 MB / 416 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002258/0.1343, allocations: 1.451 MB / 417.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.137, allocations: 1.45 MB / 418.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1373, allocations: 4 kB / 418.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.1378, allocations: 119.6 kB / 419 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.1382, allocations: 87.48 kB / 419.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1402, allocations: 0.8718 MB / 420 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.1408, allocations: 230.9 kB / 420.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.141, allocations: 99.31 kB / 420.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1412, allocations: 83.66 kB / 420.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.1415, allocations: 127.4 kB / 420.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1416, allocations: 12 kB / 420.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.1421, allocations: 191.8 kB / 420.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1422, allocations: 43.83 kB / 420.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1423, allocations: 133 kB / 420.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.1431, allocations: 395 kB / 421.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1432, allocations: 0 / 421.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1432, allocations: 0 / 421.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1432, allocations: 0 / 421.3 MB, free: 3.078 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.002394/0.1456, allocations: 0.7217 MB / 422 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1456, allocations: 11.97 kB / 422 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.985e-05/0.1457, allocations: 28.66 kB / 422 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1461, allocations: 240 kB / 422.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.1461, allocations: 20.94 kB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.1461, allocations: 24.38 kB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1467, allocations: 293.4 kB / 422.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1467, allocations: 3.938 kB / 422.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.1467, allocations: 19.92 kB / 422.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1468, allocations: 4 kB / 422.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.1472, allocations: 290.1 kB / 422.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1487, allocations: 0.8968 MB / 423.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.1493, allocations: 290.5 kB / 424.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2578/0.4071, allocations: 131.1 kB / 424.2 MB, free: 41.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/0.4072, allocations: 11.28 kB / 424.2 MB, free: 41.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4073, allocations: 37.12 kB / 424.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.4073, allocations: 0 / 424.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001235/0.4085, allocations: 0.5132 MB / 424.8 MB, free: 41.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.4085, allocations: 54.31 kB / 424.8 MB, free: 41.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4087, allocations: 159.6 kB / 425 MB, free: 41.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4087, allocations: 34.36 kB / 425 MB, free: 41.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.4088, allocations: 148.3 kB / 425.2 MB, free: 41.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.4089, allocations: 89.56 kB / 425.2 MB, free: 41.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.4089, allocations: 31.75 kB / 425.3 MB, free: 41.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.409, allocations: 324.9 kB / 425.6 MB, free: 40.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4092, allocations: 129.6 kB / 425.7 MB, free: 40.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.4093, allocations: 132.1 kB / 425.8 MB, free: 40.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.4097, allocations: 296.3 kB / 426.1 MB, free: 40.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4097, allocations: 0 / 426.1 MB, free: 40.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005943/0.4103, allocations: 401.8 kB / 426.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4104, allocations: 6.219 kB / 426.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4104, allocations: 0.75 kB / 426.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.4107, allocations: 55.69 kB / 426.6 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4109, allocations: 65.14 kB / 426.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.412, allocations: 1.438 MB / 428.1 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4122, allocations: 25.75 kB / 428.1 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4122, allocations: 13.75 kB / 428.1 MB, free: 39.39 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.0001257/0.4124, allocations: 138.1 kB / 428.3 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.4124, allocations: 18.5 kB / 428.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.4131, allocations: 351.7 kB / 428.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4131, allocations: 6.625 kB / 428.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4131, allocations: 3.781 kB / 428.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4131, allocations: 0 / 428.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.4134, allocations: 361.3 kB / 429 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4134, allocations: 0.625 kB / 429 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.4136, allocations: 40.06 kB / 429 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4138, allocations: 56.34 kB / 429.1 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.4138, allocations: 4.188 kB / 429.1 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009692/0.4148, allocations: 1.435 MB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4148, allocations: 0.625 kB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.4153, allocations: 404.1 kB / 430.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.4153, allocations: 104.4 kB / 431 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4154, allocations: 6.656 kB / 431 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.4155, allocations: 6.625 kB / 431 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.4156, allocations: 23.56 kB / 431.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4156, allocations: 6.5 kB / 431.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.4157, allocations: 131.8 kB / 431.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 431.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.4161, allocations: 78.62 kB / 431.3 MB, free: 37.4 MB / 350.1 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 (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001641/0.4162, allocations: 114.1 kB / 431.4 MB, free: 37.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006961/0.4169, allocations: 423.1 kB / 431.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.417, allocations: 320 / 431.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.4173, allocations: 257.4 kB / 432 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4176, allocations: 16.97 kB / 432.1 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.4183, allocations: 0.5719 MB / 432.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4185, allocations: 0.737 MB / 433.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.4186, allocations: 33.95 kB / 433.4 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.4187, allocations: 21.77 kB / 433.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4187, allocations: 0 / 433.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of Templates: time 0.005381/0.4241, allocations: 2.578 MB / 436 MB, free: 35.88 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: