Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 90.58 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.001111/0.001111, allocations: 180.4 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.358/1.358, allocations: 223.3 MB / 241.7 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04166/0.04166, allocations: 8.092 MB / 300.9 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 364.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2065, allocations: 52.51 MB / 416.7 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.001275/0.2079, allocations: 1.257 MB / 417.9 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2094, allocations: 1.54 MB / 419.5 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.2095, allocations: 4 kB / 419.5 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.2098, allocations: 103.6 kB / 419.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.2101, allocations: 107.4 kB / 419.7 MB, free: 21.85 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.2113, allocations: 0.8668 MB / 420.5 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2116, allocations: 246.8 kB / 420.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2117, allocations: 60.23 kB / 420.8 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.2118, allocations: 95.62 kB / 420.9 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.212, allocations: 119.4 kB / 421 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.212, allocations: 12 kB / 421 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2123, allocations: 199.8 kB / 421.2 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.2123, allocations: 35.78 kB / 421.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.2124, allocations: 129.2 kB / 421.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.2127, allocations: 281.2 kB / 421.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2127, allocations: 4 kB / 421.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2127, allocations: 0 / 421.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2127, allocations: 3.938 kB / 421.7 MB, free: 19.81 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002213/0.215, allocations: 0.7758 MB / 422.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.215, allocations: 11.97 kB / 422.5 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.2151, allocations: 28.66 kB / 422.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2153, allocations: 264.6 kB / 422.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2154, allocations: 16.38 kB / 422.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.2154, allocations: 16.38 kB / 422.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.2158, allocations: 261.7 kB / 423 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2158, allocations: 192 / 423 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.2159, allocations: 15.94 kB / 423.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2159, allocations: 11.94 kB / 423.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.2162, allocations: 239.9 kB / 423.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2174, allocations: 1.156 MB / 424.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.2178, allocations: 303.1 kB / 424.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.218, allocations: 165.3 kB / 424.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.218, allocations: 12.22 kB / 424.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.2183, allocations: 219.5 kB / 425.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.2184, allocations: 3.938 kB / 425.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002669/0.221, allocations: 0.9283 MB / 426.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2211, allocations: 55.41 kB / 426.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2212, allocations: 183.9 kB / 426.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.2213, allocations: 29.7 kB / 426.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.2213, allocations: 128.9 kB / 426.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.2214, allocations: 98.55 kB / 426.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.2215, allocations: 37.7 kB / 426.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.2215, allocations: 330.8 kB / 426.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2217, allocations: 151.9 kB / 427.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.222, allocations: 183.1 kB / 427.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.2224, allocations: 358.4 kB / 427.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2224, allocations: 0 / 427.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001516/0.2239, allocations: 0.6536 MB / 428.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.224, allocations: 4 kB / 428.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.224, allocations: 3.984 kB / 428.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.2255, allocations: 348.5 kB / 428.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2258, allocations: 51.92 kB / 428.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.2289, allocations: 2.423 MB / 431.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.2292, allocations: 31.73 kB / 431.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2292, allocations: 8 kB / 431.1 MB, free: 9.875 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.2293, allocations: 137.8 kB / 431.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.2294, allocations: 23.72 kB / 431.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.231, allocations: 0.6595 MB / 431.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.231, allocations: 11.92 kB / 431.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.231, allocations: 0 / 431.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.231, allocations: 0 / 431.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.2313, allocations: 401.1 kB / 432.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2313, allocations: 0 / 432.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.2315, allocations: 47.97 kB / 432.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.2329, allocations: 336.5 kB / 432.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.233, allocations: 4 kB / 432.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.2359, allocations: 2.406 MB / 435.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2359, allocations: 0 / 435.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.2375, allocations: 0.6306 MB / 435.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.2375, allocations: 104.8 kB / 435.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2376, allocations: 7.938 kB / 435.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2378, allocations: 26.48 kB / 435.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.2379, allocations: 23.91 kB / 435.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2379, allocations: 12 kB / 435.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.406e-05/0.238, allocations: 135.7 kB / 436.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.238, allocations: 0 / 436.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.2384, allocations: 88 kB / 436.1 MB, free: 4.613 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.2386, allocations: 131.2 kB / 436.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2398, allocations: 0.6118 MB / 436.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2398, allocations: 0 / 436.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.2407, allocations: 434.4 kB / 437.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.241, allocations: 20 kB / 437.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.2418, allocations: 0.6302 MB / 438 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2419, allocations: 0.7532 MB / 438.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.242, allocations: 27.44 kB / 438.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.242, allocations: 0 / 438.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of Templates: time 0.006743/0.2488, allocations: 4.71 MB / 443.4 MB, free: 13.22 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)