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.001249/0.001249, allocations: 103.6 kB / 16.68 MB, free: 6.328 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.001042/0.001042, allocations: 194 kB / 17.61 MB, free: 5.719 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.336/1.336, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04969/0.04969, allocations: 8.101 MB / 299.5 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2054, allocations: 51.52 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002397/0.2078, allocations: 1.821 MB / 415.2 MB, free: 23.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2092, allocations: 1.462 MB / 416.7 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.2093, allocations: 4 kB / 416.7 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.2096, allocations: 107.6 kB / 416.8 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.2098, allocations: 87.5 kB / 416.9 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.211, allocations: 0.8795 MB / 417.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2113, allocations: 234.9 kB / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.2114, allocations: 119.7 kB / 418.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.2115, allocations: 99.64 kB / 418.2 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2117, allocations: 139.5 kB / 418.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.2117, allocations: 24 kB / 418.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.212, allocations: 207.8 kB / 418.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.212, allocations: 51.83 kB / 418.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.2121, allocations: 131.3 kB / 418.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.2124, allocations: 297.2 kB / 419 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2124, allocations: 4 kB / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2124, allocations: 0 / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.2124, allocations: 0 / 419 MB, free: 20.12 MB / 302.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.001944/0.2144, allocations: 0.7607 MB / 419.8 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2144, allocations: 15.89 kB / 419.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.2145, allocations: 24.66 kB / 419.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.2147, allocations: 247.9 kB / 420.1 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2147, allocations: 16.94 kB / 420.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2147, allocations: 28.38 kB / 420.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.2151, allocations: 293.4 kB / 420.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2152, allocations: 3.938 kB / 420.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.2152, allocations: 15.98 kB / 420.4 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2152, allocations: 8 kB / 420.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.2156, allocations: 294.1 kB / 420.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2168, allocations: 0.8852 MB / 421.6 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.2172, allocations: 296.8 kB / 421.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2174, allocations: 132.8 kB / 422 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.2174, allocations: 8 kB / 422 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2174, allocations: 34.56 kB / 422.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.2174, allocations: 0 / 422.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001031/0.2185, allocations: 0.5244 MB / 422.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2185, allocations: 55.41 kB / 422.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2186, allocations: 167.2 kB / 422.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2187, allocations: 29.7 kB / 422.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.2187, allocations: 148.3 kB / 423 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.2188, allocations: 90.73 kB / 423.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.2189, allocations: 69.45 kB / 423.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.2189, allocations: 330.8 kB / 423.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2191, allocations: 128 kB / 423.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2192, allocations: 132 kB / 423.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2195, allocations: 293.2 kB / 424 MB, free: 14.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2196, allocations: 3.938 kB / 424 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005524/0.2201, allocations: 402 kB / 424.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2201, allocations: 4 kB / 424.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2202, allocations: 4 kB / 424.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.2204, allocations: 52.81 kB / 424.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2207, allocations: 59.91 kB / 424.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2218, allocations: 1.535 MB / 426 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2219, allocations: 23.69 kB / 426.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.222, allocations: 12 kB / 426.1 MB, free: 12.68 MB / 302.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.0001081/0.2221, allocations: 137.8 kB / 426.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.2221, allocations: 19.75 kB / 426.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.2227, allocations: 360.5 kB / 426.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2227, allocations: 4 kB / 426.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2227, allocations: 0 / 426.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2227, allocations: 7.922 kB / 426.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.223, allocations: 361.2 kB / 426.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.223, allocations: 0 / 426.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2232, allocations: 35.98 kB / 427 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.2234, allocations: 64.75 kB / 427 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2234, allocations: 4 kB / 427 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008923/0.2243, allocations: 1.52 MB / 428.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2243, allocations: 3.938 kB / 428.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.2248, allocations: 404.7 kB / 429 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2248, allocations: 96.86 kB / 429.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2249, allocations: 7.938 kB / 429.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.225, allocations: 7.938 kB / 429.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2251, allocations: 19.97 kB / 429.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2251, allocations: 4 kB / 429.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.2252, allocations: 131.2 kB / 429.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2252, allocations: 0 / 429.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.2255, allocations: 83.84 kB / 429.3 MB, free: 9.195 MB / 302.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.000167/0.2257, allocations: 123.1 kB / 429.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2264, allocations: 438.3 kB / 429.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2264, allocations: 0 / 429.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.2268, allocations: 250.6 kB / 430.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2271, allocations: 19.92 kB / 430.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.2278, allocations: 0.5737 MB / 430.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.228, allocations: 0.7398 MB / 431.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.228, allocations: 27.44 kB / 431.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.228, allocations: 0 / 431.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of Templates: time 0.004558/0.2326, allocations: 4.094 MB / 435.6 MB, free: 2.855 MB / 302.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)