Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 89.41 kB / 16.71 MB, free: 6.637 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.001555/0.001555, allocations: 176 kB / 17.62 MB, free: 6.16 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.344/1.344, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04287/0.04287, allocations: 8.107 MB / 300.9 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 8 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 52.52 MB / 416.7 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.001462/0.2122, allocations: 1.41 MB / 418.1 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2137, allocations: 1.329 MB / 419.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.2138, allocations: 4 kB / 419.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.2141, allocations: 79.67 kB / 419.5 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.2143, allocations: 79.52 kB / 419.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.215, allocations: 430.3 kB / 420 MB, free: 21.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2152, allocations: 207 kB / 420.2 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2153, allocations: 90.89 kB / 420.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.2154, allocations: 95.52 kB / 420.4 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2156, allocations: 135.4 kB / 420.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.2156, allocations: 12 kB / 420.5 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.2158, allocations: 111.9 kB / 420.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.2159, allocations: 39.84 kB / 420.6 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.216, allocations: 133 kB / 420.8 MB, free: 20.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.2162, allocations: 237.4 kB / 421 MB, free: 20.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2162, allocations: 0 / 421 MB, free: 20.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2163, allocations: 0 / 421 MB, free: 20.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2163, allocations: 0 / 421 MB, free: 20.44 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001464/0.2177, allocations: 0.6241 MB / 421.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2178, allocations: 15.91 kB / 421.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.2179, allocations: 24.66 kB / 421.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.218, allocations: 204 kB / 421.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2181, allocations: 12.94 kB / 421.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2181, allocations: 28.38 kB / 421.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.2185, allocations: 288.1 kB / 422.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2185, allocations: 192 / 422.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2186, allocations: 15.94 kB / 422.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2186, allocations: 15.88 kB / 422.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.2189, allocations: 241.3 kB / 422.5 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2201, allocations: 0.9761 MB / 423.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.2208, allocations: 366.5 kB / 423.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2209, allocations: 89.7 kB / 423.9 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.221, allocations: 7.984 kB / 423.9 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.221, allocations: 42.55 kB / 423.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.221, allocations: 0 / 423.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001077/0.2221, allocations: 0.5208 MB / 424.5 MB, free: 16.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2221, allocations: 81.11 kB / 424.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2223, allocations: 198.5 kB / 424.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2224, allocations: 33.7 kB / 424.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.2224, allocations: 140.5 kB / 424.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.2225, allocations: 82.78 kB / 425 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.2225, allocations: 25.72 kB / 425 MB, free: 16.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2226, allocations: 326.8 kB / 425.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2227, allocations: 91.91 kB / 425.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.2229, allocations: 127.4 kB / 425.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.2231, allocations: 210.7 kB / 425.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2231, allocations: 0 / 425.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005519/0.2237, allocations: 338.9 kB / 426.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2237, allocations: 4 kB / 426.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2237, allocations: 0 / 426.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.2241, allocations: 81.7 kB / 426.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2243, allocations: 47.91 kB / 426.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.2259, allocations: 2.678 MB / 428.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2261, allocations: 27.7 kB / 428.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2261, allocations: 8 kB / 428.9 MB, free: 11.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.2262, allocations: 137.8 kB / 429.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.2263, allocations: 19.75 kB / 429.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.2269, allocations: 296.6 kB / 429.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2269, allocations: 0 / 429.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2269, allocations: 11.97 kB / 429.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2269, allocations: 0 / 429.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.2275, allocations: 0.5537 MB / 429.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2276, allocations: 0 / 429.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2277, allocations: 31.92 kB / 430 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.228, allocations: 73.59 kB / 430 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.228, allocations: 11.98 kB / 430 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.2295, allocations: 2.674 MB / 432.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2295, allocations: 0 / 432.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.23, allocations: 429.6 kB / 433.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.23, allocations: 96.84 kB / 433.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.2301, allocations: 12.09 kB / 433.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2303, allocations: 24.11 kB / 433.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2303, allocations: 19.97 kB / 433.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2304, allocations: 7.938 kB / 433.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2305, allocations: 151.7 kB / 433.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2305, allocations: 0 / 433.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.231, allocations: 75.84 kB / 433.5 MB, free: 6.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001772/0.2311, allocations: 111.2 kB / 433.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.2318, allocations: 457.9 kB / 434.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.2318, allocations: 0 / 434.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.2322, allocations: 337.4 kB / 434.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.2326, allocations: 36.12 kB / 434.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.2333, allocations: 0.5422 MB / 435 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2334, allocations: 0.7441 MB / 435.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.2335, allocations: 27.42 kB / 435.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2335, allocations: 0 / 435.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Templates: time 0.005736/0.2392, allocations: 4.919 MB / 440.7 MB, free: 15.64 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)