Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.001426/0.001426, allocations: 180.7 kB / 15.8 MB, free: 6.336 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.584/1.584, allocations: 223.2 MB / 239.7 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 96.95 kB / 290.9 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06146/0.06146, allocations: 8.111 MB / 350.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8 kB / 413.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 52.51 MB / 465.7 MB, free: 69.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.3983, allocations: 79.36 MB / 0.5323 GB, free: 6.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.3986, allocations: 71.94 kB / 0.5323 GB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03151/0.4301, allocations: 11.65 MB / 0.5437 GB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4301, allocations: 0 / 0.5437 GB, free: 10.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4302, allocations: 4 kB / 0.5437 GB, free: 10.3 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002407/0.4326, allocations: 0.8495 MB / 0.5446 GB, free: 9.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4326, allocations: 12.03 kB / 0.5446 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.4327, allocations: 62.53 kB / 0.5446 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.4329, allocations: 51.42 kB / 0.5447 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.4334, allocations: 342.2 kB / 0.545 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4334, allocations: 20.56 kB / 0.545 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.4335, allocations: 24 kB / 0.545 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.4342, allocations: 416.7 kB / 0.5454 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4342, allocations: 0 / 0.5454 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.4343, allocations: 12 kB / 0.5455 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4343, allocations: 15.95 kB / 0.5455 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.4349, allocations: 410.1 kB / 0.5459 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.4375, allocations: 1.651 MB / 0.5475 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4387, allocations: 0.5511 MB / 0.548 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.4389, allocations: 101.4 kB / 0.5481 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4389, allocations: 42.94 kB / 0.5482 GB, free: 5.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.176e-06/0.4389, allocations: 3.984 kB / 0.5482 GB, free: 5.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.004583/0.4435, allocations: 1.606 MB / 0.5497 GB, free: 3.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4436, allocations: 55.41 kB / 0.5498 GB, free: 3.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.4439, allocations: 261.8 kB / 0.55 GB, free: 3.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.444, allocations: 37.7 kB / 0.5501 GB, free: 3.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4441, allocations: 160.8 kB / 0.5502 GB, free: 3.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.4442, allocations: 165.6 kB / 0.5504 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4443, allocations: 4 kB / 0.5504 GB, free: 3.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4444, allocations: 342.8 kB / 0.5507 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4448, allocations: 228.8 kB / 0.5509 GB, free: 2.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.4451, allocations: 231.9 kB / 0.5511 GB, free: 2.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.4455, allocations: 248.8 kB / 0.5514 GB, free: 2.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4455, allocations: 0 / 0.5514 GB, free: 2.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002176/0.4477, allocations: 0.9155 MB / 0.5523 GB, free: 1.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4478, allocations: 7.984 kB / 0.5523 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4478, allocations: 0 / 0.5523 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.4496, allocations: 410.2 kB / 0.5527 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4498, allocations: 59.89 kB / 0.5527 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.262/0.7118, allocations: 5.741 MB / 0.5583 GB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.7123, allocations: 34.42 kB / 0.5584 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.7123, allocations: 14.98 kB / 0.5584 GB, free: 84.3 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.7125, allocations: 165.8 kB / 0.5585 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.7126, allocations: 37.41 kB / 0.5586 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.7151, allocations: 0.9849 MB / 0.5595 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.7151, allocations: 5.344 kB / 0.5595 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7151, allocations: 3.953 kB / 0.5595 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7151, allocations: 2.953 kB / 0.5596 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.7161, allocations: 0.6149 MB / 0.5602 GB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7161, allocations: 0 / 0.5602 GB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.7163, allocations: 59.23 kB / 0.5602 GB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.7183, allocations: 407.4 kB / 0.5606 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.7183, allocations: 15.03 kB / 0.5606 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.724, allocations: 5.716 MB / 0.5662 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.724, allocations: 3.719 kB / 0.5662 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.7264, allocations: 1.002 MB / 0.5672 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.7265, allocations: 123.7 kB / 0.5673 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.7266, allocations: 8.094 kB / 0.5673 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.7269, allocations: 33 kB / 0.5673 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.7271, allocations: 45.34 kB / 0.5674 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.7271, allocations: 14.12 kB / 0.5674 GB, free: 78.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.7274, allocations: 217.6 kB / 0.5676 GB, free: 78.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.7274, allocations: 0 / 0.5676 GB, free: 78.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006671/0.728, allocations: 169.9 kB / 0.5678 GB, free: 78.73 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.7302, allocations: 1.568 MB / 0.5693 GB, free: 77.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.7319, allocations: 1.012 MB / 0.5703 GB, free: 77.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7319, allocations: 3.75 kB / 0.5703 GB, free: 77.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.7332, allocations: 0.7615 MB / 0.571 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.7335, allocations: 37.47 kB / 0.5711 GB, free: 76.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.7378, allocations: 2.758 MB / 0.5738 GB, free: 75.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.738, allocations: 0.8086 MB / 0.5745 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.7382, allocations: 51.16 kB / 0.5746 GB, free: 74.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.7384, allocations: 118 kB / 0.5747 GB, free: 74.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7384, allocations: 3.938 kB / 0.5747 GB, free: 74.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.7614, allocations: 12.88 MB / 0.5873 GB, free: 66.13 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.7615, allocations: 209.9 kB / 0.5875 GB, free: 65.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.025, allocations: 0 / 0.5875 GB, free: 65.89 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)