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/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: "" <> buildModelFMU(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.9 kB / 13.23 MB, free: 2.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.4 MB / 235.1 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009282, allocations: 100.9 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05469/0.05469, allocations: 8.106 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.604e-05, allocations: 0 / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09325, allocations: 52.51 MB / 458.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.4955, allocations: 79.44 MB / 0.5249 GB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.4957, allocations: 65.66 kB / 0.525 GB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02073/0.5164, allocations: 7.757 MB / 0.5326 GB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5165, allocations: 0 / 0.5326 GB, free: 292 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.5165, allocations: 4 kB / 0.5326 GB, free: 288 kB / 346.7 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.001481/0.518, allocations: 0.5946 MB / 0.5331 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.518, allocations: 12.03 kB / 0.5331 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.5181, allocations: 49.98 kB / 0.5332 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.5182, allocations: 31.66 kB / 0.5332 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.5185, allocations: 250.2 kB / 0.5335 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5186, allocations: 10.75 kB / 0.5335 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5186, allocations: 19.06 kB / 0.5335 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.5191, allocations: 268.3 kB / 0.5337 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.5191, allocations: 3.938 kB / 0.5338 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.5191, allocations: 5.75 kB / 0.5338 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.5191, allocations: 7.953 kB / 0.5338 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.5195, allocations: 243.3 kB / 0.534 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5211, allocations: 1.222 MB / 0.5352 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.5216, allocations: 298.8 kB / 0.5355 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.5219, allocations: 162.8 kB / 0.5356 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.5221, allocations: 84.66 kB / 0.5357 GB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.5225, allocations: 219.5 kB / 0.5359 GB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.5225, allocations: 3.938 kB / 0.5359 GB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001582/0.5241, allocations: 0.5661 MB / 0.5365 GB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.5241, allocations: 55.41 kB / 0.5365 GB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.5243, allocations: 172.2 kB / 0.5367 GB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.5244, allocations: 33.52 kB / 0.5367 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5245, allocations: 116.4 kB / 0.5368 GB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.5246, allocations: 99.3 kB / 0.5369 GB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.5246, allocations: 7.625 kB / 0.5369 GB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5247, allocations: 333.9 kB / 0.5373 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.5249, allocations: 126.8 kB / 0.5374 GB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5252, allocations: 150.7 kB / 0.5375 GB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.5254, allocations: 141.4 kB / 0.5377 GB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5254, allocations: 0 / 0.5377 GB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001501/0.5269, allocations: 0.5732 MB / 0.5382 GB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5269, allocations: 7.953 kB / 0.5382 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5269, allocations: 0 / 0.5382 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.5284, allocations: 314 kB / 0.5385 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5287, allocations: 35.98 kB / 0.5386 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.5324, allocations: 2.375 MB / 0.5409 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5326, allocations: 15.34 kB / 0.5409 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.5326, allocations: 7.875 kB / 0.5409 GB, free: 9.219 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5327, allocations: 115.8 kB / 0.541 GB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.5328, allocations: 23.77 kB / 0.541 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.5345, allocations: 0.6505 MB / 0.5417 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.5346, allocations: 7.984 kB / 0.5417 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.5346, allocations: 0 / 0.5417 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5346, allocations: 7.938 kB / 0.5417 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.535, allocations: 436.6 kB / 0.5421 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.535, allocations: 4 kB / 0.5421 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.5352, allocations: 43.91 kB / 0.5421 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.5366, allocations: 300.6 kB / 0.5424 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.5367, allocations: 7.5 kB / 0.5424 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.54, allocations: 2.355 MB / 0.5447 GB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.54, allocations: 0 / 0.5447 GB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5416, allocations: 0.6228 MB / 0.5453 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.5417, allocations: 100.8 kB / 0.5454 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.5417, allocations: 14.73 kB / 0.5455 GB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.542, allocations: 15.88 kB / 0.5455 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.5421, allocations: 27.83 kB / 0.5455 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.5421, allocations: 8 kB / 0.5455 GB, free: 5.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.5422, allocations: 145.2 kB / 0.5456 GB, free: 5.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5423, allocations: 3.938 kB / 0.5456 GB, free: 5.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.5427, allocations: 93.84 kB / 0.5457 GB, free: 5.156 MB / 362.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: 1 ($whenCondition1) * Number of discrete 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 (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 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/0.5447, allocations: 1.18 MB / 0.5469 GB, free: 4.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.5458, allocations: 0.5135 MB / 0.5474 GB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5458, allocations: 0 / 0.5474 GB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.5466, allocations: 374 kB / 0.5477 GB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.5468, allocations: 22.23 kB / 0.5478 GB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.5477, allocations: 378.2 kB / 0.5481 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.548, allocations: 0.7569 MB / 0.5489 GB, free: 2.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.5482, allocations: 34.12 kB / 0.5489 GB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.5483, allocations: 71.22 kB / 0.549 GB, free: 2.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5483, allocations: 3.938 kB / 0.549 GB, free: 2.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.5729, allocations: 8.022 MB / 0.5568 GB, free: 10.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.5732, allocations: 179.4 kB / 0.557 GB, free: 10.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.433, allocations: 0 / 0.557 GB, free: 10.16 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)