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.001071/0.001072, allocations: 104.3 kB / 17.07 MB, free: 5.68 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.00106/0.00106, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04704/0.04704, allocations: 8.09 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 363.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2139, allocations: 51.52 MB / 414.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002558/0.2165, allocations: 1.742 MB / 416.4 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2179, allocations: 1.345 MB / 417.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.218, allocations: 4 kB / 417.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2182, allocations: 99.42 kB / 417.9 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.2185, allocations: 95.31 kB / 418 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.2192, allocations: 450.2 kB / 418.4 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2194, allocations: 223 kB / 418.6 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.2196, allocations: 114.3 kB / 418.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.2197, allocations: 103.6 kB / 418.8 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2199, allocations: 151.4 kB / 419 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.2199, allocations: 24 kB / 419 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2201, allocations: 115.9 kB / 419.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.2202, allocations: 51.83 kB / 419.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.2203, allocations: 119.3 kB / 419.3 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2206, allocations: 336.7 kB / 419.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2206, allocations: 0 / 419.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2206, allocations: 4 kB / 419.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2206, allocations: 0 / 419.6 MB, free: 20.46 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.001493/0.2221, allocations: 0.6592 MB / 420.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2221, allocations: 15.89 kB / 420.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.2222, allocations: 28.66 kB / 420.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2224, allocations: 204 kB / 420.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2224, allocations: 12.94 kB / 420.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.2225, allocations: 24.38 kB / 420.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.2229, allocations: 292 kB / 420.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2229, allocations: 192 / 420.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.2229, allocations: 15.94 kB / 420.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2229, allocations: 8 kB / 420.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2232, allocations: 242.9 kB / 421.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2244, allocations: 0.9722 MB / 422.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.225, allocations: 362.4 kB / 422.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2252, allocations: 89.7 kB / 422.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.2252, allocations: 11.97 kB / 422.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2252, allocations: 46.69 kB / 422.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2252, allocations: 0 / 422.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009961/0.2262, allocations: 0.5213 MB / 423.1 MB, free: 16.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2263, allocations: 81.11 kB / 423.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2265, allocations: 194.7 kB / 423.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2265, allocations: 37.64 kB / 423.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.2265, allocations: 144 kB / 423.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.2266, allocations: 74.94 kB / 423.6 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.2267, allocations: 57.59 kB / 423.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.2267, allocations: 330.8 kB / 424 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2268, allocations: 83.97 kB / 424.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2269, allocations: 127.4 kB / 424.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.2272, allocations: 211.3 kB / 424.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2272, allocations: 0 / 424.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005141/0.2277, allocations: 338.9 kB / 424.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2277, allocations: 8 kB / 424.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2277, allocations: 0 / 424.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.2281, allocations: 77.72 kB / 424.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2283, allocations: 47.91 kB / 424.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2299, allocations: 2.879 MB / 427.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.23, allocations: 27.7 kB / 427.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2301, allocations: 12 kB / 427.8 MB, free: 11.64 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 9.911e-05/0.2302, allocations: 138 kB / 427.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.2302, allocations: 15.81 kB / 427.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.2308, allocations: 296.4 kB / 428.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2308, allocations: 0 / 428.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2308, allocations: 8 kB / 428.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2308, allocations: 3.984 kB / 428.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.2314, allocations: 0.5535 MB / 428.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2314, allocations: 0 / 428.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2315, allocations: 35.97 kB / 428.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.2318, allocations: 73.66 kB / 428.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2318, allocations: 4 kB / 428.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.2333, allocations: 2.871 MB / 431.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2333, allocations: 4.031 kB / 431.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.2338, allocations: 433.9 kB / 432.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.2338, allocations: 96.86 kB / 432.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.2339, allocations: 7.984 kB / 432.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2341, allocations: 19.92 kB / 432.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2341, allocations: 19.92 kB / 432.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2341, allocations: 8 kB / 432.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2343, allocations: 147.7 kB / 432.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2343, allocations: 0 / 432.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.2347, allocations: 79.75 kB / 432.6 MB, free: 6.445 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.0001369/0.2348, allocations: 119.2 kB / 432.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.2354, allocations: 449.2 kB / 433.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2355, allocations: 0 / 433.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.2358, allocations: 337.4 kB / 433.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2362, allocations: 28.62 kB / 433.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.2368, allocations: 427.6 kB / 433.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.237, allocations: 0.7363 MB / 434.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.2371, allocations: 33.52 kB / 434.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.2372, allocations: 19.44 kB / 434.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2372, allocations: 3.938 kB / 434.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of Templates: time 0.005846/0.243, allocations: 3.06 MB / 437.7 MB, free: 1.164 MB / 302.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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)