Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 190.4 kB / 7.842 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.4 MB / 229.7 MB, free: 3.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 94.06 kB / 280.5 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03917/0.03917, allocations: 8.1 MB / 339.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.496e-06, allocations: 4 kB / 397.9 MB, free: 68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 52.52 MB / 450.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4999, allocations: 80.84 MB / 0.5188 GB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5002, allocations: 60.36 kB / 0.5189 GB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0568/0.557, allocations: 14.28 MB / 0.5328 GB, free: 2.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.5571, allocations: 15.88 kB / 0.5328 GB, free: 2.242 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005189/0.5623, allocations: 0.9892 MB / 0.5338 GB, free: 1.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.5624, allocations: 15.97 kB / 0.5338 GB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.5627, allocations: 51.42 kB / 0.5339 GB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008552/0.5635, allocations: 349.9 kB / 0.5342 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5636, allocations: 12 kB / 0.5342 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.5637, allocations: 20 kB / 0.5342 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/0.565, allocations: 0.5058 MB / 0.5347 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.5663, allocations: 0.5063 MB / 0.5352 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5663, allocations: 0 / 0.5352 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.5664, allocations: 7.938 kB / 0.5352 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.5664, allocations: 8 kB / 0.5352 GB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.5715, allocations: 2.329 MB / 0.5375 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.5726, allocations: 0.4997 MB / 0.538 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.5733, allocations: 299.6 kB / 0.5383 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.5736, allocations: 101.1 kB / 0.5384 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5736, allocations: 42.69 kB / 0.5384 GB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.978e-06/0.5737, allocations: 0 / 0.5384 GB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.00671/0.5804, allocations: 1.158 MB / 0.5395 GB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.5805, allocations: 115.1 kB / 0.5397 GB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.5809, allocations: 223.7 kB / 0.5399 GB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.581, allocations: 29.7 kB / 0.5399 GB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5811, allocations: 159.3 kB / 0.54 GB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.5813, allocations: 170.1 kB / 0.5402 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.5814, allocations: 0 / 0.5402 GB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5816, allocations: 346.2 kB / 0.5405 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.5822, allocations: 251.1 kB / 0.5408 GB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.5829, allocations: 298.2 kB / 0.5411 GB, free: 11.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.5845, allocations: 327.3 kB / 0.5414 GB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5845, allocations: 0 / 0.5414 GB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00624/0.5907, allocations: 1.221 MB / 0.5426 GB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5908, allocations: 4 kB / 0.5426 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5908, allocations: 7.969 kB / 0.5426 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.5967, allocations: 0.683 MB / 0.5432 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.5974, allocations: 75.77 kB / 0.5433 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6088, allocations: 3.476 MB / 0.5467 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.6096, allocations: 31.73 kB / 0.5467 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.6098, allocations: 15.48 kB / 0.5468 GB, free: 7.031 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.61, allocations: 113.8 kB / 0.5469 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.6102, allocations: 39.53 kB / 0.5469 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/0.6175, allocations: 1.293 MB / 0.5482 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6176, allocations: 8 kB / 0.5482 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6176, allocations: 0 / 0.5482 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.6176, allocations: 3.984 kB / 0.5482 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.6261, allocations: 1.981 MB / 0.5501 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6261, allocations: 0 / 0.5501 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.6267, allocations: 75.89 kB / 0.5502 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006095/0.6329, allocations: 0.6797 MB / 0.5509 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.633, allocations: 4 kB / 0.5509 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.6453, allocations: 3.549 MB / 0.5543 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6453, allocations: 0 / 0.5543 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006924/0.6523, allocations: 1.305 MB / 0.5556 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6525, allocations: 120.7 kB / 0.5557 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6526, allocations: 0 / 0.5557 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.6534, allocations: 23.98 kB / 0.5557 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6535, allocations: 28.45 kB / 0.5558 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/0.6536, allocations: 19.98 kB / 0.5558 GB, free: 14.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000278/0.6539, allocations: 175.1 kB / 0.5559 GB, free: 13.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001068/0.655, allocations: 159.8 kB / 0.5561 GB, free: 13.76 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.6553, allocations: 127.1 kB / 0.5562 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.6591, allocations: 0.8807 MB / 0.5571 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6591, allocations: 0 / 0.5571 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.6623, allocations: 0.6358 MB / 0.5577 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.6629, allocations: 20.97 kB / 0.5577 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.6652, allocations: 0.5362 MB / 0.5582 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/0.6659, allocations: 0.8637 MB / 0.5591 GB, free: 10.62 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.666, allocations: 4 kB / 0.5591 GB, free: 10.61 MB / 378.7 MB Notification: Performance of Templates: time 0.02631/0.6923, allocations: 10.6 MB / 0.5694 GB, free: 64 kB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)