Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 110.4 kB / 17.08 MB, free: 5.773 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.001132/0.001132, allocations: 195 kB / 18.03 MB, free: 4.953 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05991/0.05991, allocations: 8.095 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 363.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2191, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001898/0.221, allocations: 0.8637 MB / 415.6 MB, free: 24.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2222, allocations: 1.293 MB / 416.8 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.2222, allocations: 4 kB / 416.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.2225, allocations: 59.7 kB / 416.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.2227, allocations: 43.75 kB / 416.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.2233, allocations: 353.4 kB / 417.3 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.2234, allocations: 71.59 kB / 417.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2235, allocations: 31.97 kB / 417.4 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.2236, allocations: 31.86 kB / 417.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2237, allocations: 51.7 kB / 417.5 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2237, allocations: 4 kB / 417.5 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2239, allocations: 103.9 kB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.224, allocations: 8 kB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.224, allocations: 39.8 kB / 417.6 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2243, allocations: 157.3 kB / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2243, allocations: 0 / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2243, allocations: 0 / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2243, allocations: 0 / 417.8 MB, free: 22.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007821/0.2251, allocations: 439.1 kB / 418.2 MB, free: 21.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2251, allocations: 11.89 kB / 418.2 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2252, allocations: 12.84 kB / 418.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2253, allocations: 184.2 kB / 418.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2253, allocations: 384 / 418.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2253, allocations: 8.375 kB / 418.4 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2255, allocations: 94.22 kB / 418.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2255, allocations: 4.188 kB / 418.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2255, allocations: 3.938 kB / 418.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2255, allocations: 0 / 418.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.2256, allocations: 71.97 kB / 418.6 MB, free: 21.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.2262, allocations: 392.6 kB / 419 MB, free: 21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2265, allocations: 106.7 kB / 419.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.2265, allocations: 32.86 kB / 419.1 MB, free: 20.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.2266, allocations: 4 kB / 419.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2266, allocations: 34.5 kB / 419.2 MB, free: 20.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2266, allocations: 4 kB / 419.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004941/0.2271, allocations: 235.5 kB / 419.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.2271, allocations: 51.41 kB / 419.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2272, allocations: 142 kB / 419.6 MB, free: 20.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2273, allocations: 25.7 kB / 419.6 MB, free: 20.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2273, allocations: 111.9 kB / 419.7 MB, free: 20.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.2273, allocations: 23.8 kB / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.2274, allocations: 29.7 kB / 419.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.2274, allocations: 322.8 kB / 420.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.2275, allocations: 28 kB / 420.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.2275, allocations: 35.92 kB / 420.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.2276, allocations: 72.84 kB / 420.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2276, allocations: 3.938 kB / 420.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002295/0.2279, allocations: 146.4 kB / 420.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2279, allocations: 4 kB / 420.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2279, allocations: 3.938 kB / 420.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.2281, allocations: 36.83 kB / 420.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.2282, allocations: 19.92 kB / 420.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008416/0.2291, allocations: 1.437 MB / 421.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.2291, allocations: 4.094 kB / 421.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2292, allocations: 12.03 kB / 421.9 MB, free: 17.85 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 (9): * Single equations (assignments): 8 * 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 6.274e-05/0.2292, allocations: 117.8 kB / 422 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.2293, allocations: 7.906 kB / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.2295, allocations: 131.1 kB / 422.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2295, allocations: 0 / 422.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.2295, allocations: 0 / 422.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2295, allocations: 3.938 kB / 422.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2297, allocations: 209.5 kB / 422.3 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2297, allocations: 0 / 422.3 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.2297, allocations: 12 kB / 422.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.2299, allocations: 32.83 kB / 422.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-06/0.2299, allocations: 0 / 422.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006826/0.2306, allocations: 1.441 MB / 423.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2306, allocations: 0 / 423.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.2308, allocations: 212.8 kB / 424 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2308, allocations: 97 kB / 424.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2309, allocations: 0 / 424.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.231, allocations: 7.938 kB / 424.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.231, allocations: 7.984 kB / 424.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.231, allocations: 4 kB / 424.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.2311, allocations: 114.9 kB / 424.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2311, allocations: 0 / 424.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2314, allocations: 28 kB / 424.3 MB, free: 15.19 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 (6): * Single equations (assignments): 5 * 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.0001289/0.2315, allocations: 107.2 kB / 424.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.2318, allocations: 206.5 kB / 424.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2318, allocations: 0 / 424.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.232, allocations: 154.7 kB / 424.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2323, allocations: 19.25 kB / 424.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.2327, allocations: 221.3 kB / 425 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2328, allocations: 0.6963 MB / 425.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.2328, allocations: 8.656 kB / 425.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.2329, allocations: 11.44 kB / 425.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2329, allocations: 0 / 425.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Templates: time 0.003588/0.2365, allocations: 1.51 MB / 427.2 MB, free: 12.2 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)