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.001567/0.001567, allocations: 177.6 kB / 15.8 MB, free: 6.34 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.757/1.757, allocations: 223.2 MB / 239.7 MB, free: 1.789 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.001393/0.001393, allocations: 92.61 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06748/0.06748, allocations: 8.098 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004279, allocations: 8.531 kB / 413.2 MB, free: 89.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 52.53 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.5011, allocations: 79.26 MB / 0.5322 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5014, allocations: 64.64 kB / 0.5322 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02118/0.5226, allocations: 7.758 MB / 0.5398 GB, free: 31.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5227, allocations: 4 kB / 0.5398 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.5227, allocations: 7.938 kB / 0.5398 GB, free: 31.72 MB / 378.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.002056/0.5248, allocations: 0.6427 MB / 0.5405 GB, free: 31.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5249, allocations: 11.78 kB / 0.5405 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.525, allocations: 54.67 kB / 0.5405 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5251, allocations: 27.45 kB / 0.5405 GB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.5256, allocations: 260.5 kB / 0.5408 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.5257, allocations: 15.69 kB / 0.5408 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.5257, allocations: 15.59 kB / 0.5408 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.5262, allocations: 271.1 kB / 0.5411 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5263, allocations: 0 / 0.5411 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.5263, allocations: 3.75 kB / 0.5411 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5263, allocations: 7.828 kB / 0.5411 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.5268, allocations: 248.8 kB / 0.5413 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.5287, allocations: 1.213 MB / 0.5425 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.5292, allocations: 301.2 kB / 0.5428 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.5293, allocations: 91.66 kB / 0.5429 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.5298, allocations: 228.5 kB / 0.5431 GB, free: 30.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.434e-06/0.5298, allocations: 0 / 0.5431 GB, free: 30.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002798/0.5326, allocations: 0.8967 MB / 0.544 GB, free: 29.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.5327, allocations: 55.25 kB / 0.544 GB, free: 29.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.5329, allocations: 172.5 kB / 0.5442 GB, free: 29.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.533, allocations: 36.95 kB / 0.5442 GB, free: 29.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.533, allocations: 124.3 kB / 0.5444 GB, free: 29.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.5331, allocations: 97.89 kB / 0.5444 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.5332, allocations: 3.688 kB / 0.5445 GB, free: 29.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5333, allocations: 331.8 kB / 0.5448 GB, free: 29.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.5334, allocations: 128.4 kB / 0.5449 GB, free: 29.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5337, allocations: 163.4 kB / 0.545 GB, free: 29.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.5339, allocations: 141.3 kB / 0.5452 GB, free: 29.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5339, allocations: 0 / 0.5452 GB, free: 29.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00147/0.5354, allocations: 0.5756 MB / 0.5457 GB, free: 29.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.5354, allocations: 7.797 kB / 0.5458 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5354, allocations: 3.906 kB / 0.5458 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.5369, allocations: 307.6 kB / 0.546 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5371, allocations: 44.97 kB / 0.5461 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/0.5413, allocations: 2.43 MB / 0.5485 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.5416, allocations: 29.8 kB / 0.5485 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5417, allocations: 3.844 kB / 0.5485 GB, free: 27.75 MB / 378.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 () * Number of clocked 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.0002579/0.5419, allocations: 138.1 kB / 0.5486 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.542, allocations: 28.97 kB / 0.5487 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.5438, allocations: 0.6529 MB / 0.5493 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5438, allocations: 3.875 kB / 0.5493 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.5438, allocations: 3.938 kB / 0.5493 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5438, allocations: 5.781 kB / 0.5493 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.5444, allocations: 428.3 kB / 0.5497 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5444, allocations: 7.688 kB / 0.5497 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.5446, allocations: 46.12 kB / 0.5498 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.5459, allocations: 300.2 kB / 0.5501 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.546, allocations: 11.59 kB / 0.5501 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.5497, allocations: 2.432 MB / 0.5524 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5497, allocations: 7.891 kB / 0.5524 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5513, allocations: 0.632 MB / 0.5531 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5514, allocations: 98.39 kB / 0.5532 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.5515, allocations: 7.188 kB / 0.5532 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5517, allocations: 18.06 kB / 0.5532 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5518, allocations: 24.67 kB / 0.5532 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.5518, allocations: 9.422 kB / 0.5532 GB, free: 25.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.552, allocations: 143 kB / 0.5533 GB, free: 25.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.552, allocations: 4 kB / 0.5534 GB, free: 25.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005392/0.5526, allocations: 95.19 kB / 0.5534 GB, free: 25.69 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: 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 (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.002045/0.5546, allocations: 1.192 MB / 0.5546 GB, free: 25.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.556, allocations: 0.5085 MB / 0.5551 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.556, allocations: 0 / 0.5551 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.5568, allocations: 384.7 kB / 0.5555 GB, free: 24.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.5571, allocations: 26.78 kB / 0.5555 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5608, allocations: 2.074 MB / 0.5575 GB, free: 23.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.5613, allocations: 0.7538 MB / 0.5583 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.5615, allocations: 34.92 kB / 0.5583 GB, free: 23.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5616, allocations: 72.19 kB / 0.5584 GB, free: 23.16 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5616, allocations: 0 / 0.5584 GB, free: 23.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.5868, allocations: 7.908 MB / 0.5661 GB, free: 22.56 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.5871, allocations: 210.8 kB / 0.5663 GB, free: 22.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.537, allocations: 0 / 0.5663 GB, free: 22.32 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)