Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",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.001417/0.001417, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.377/1.377, allocations: 221.4 MB / 235.1 MB, free: 14.39 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.0008725/0.0008726, allocations: 107.4 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.04774/0.04774, allocations: 8.107 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.014e-05, allocations: 4 kB / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08559, allocations: 52.52 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4466, allocations: 82.52 MB / 0.5279 GB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4468, allocations: 71.47 kB / 0.528 GB, free: 3.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04646/0.4933, allocations: 17.32 MB / 0.5449 GB, free: 5.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4933, allocations: 3.938 kB / 0.5449 GB, free: 5.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.4934, allocations: 12 kB / 0.5449 GB, free: 5.672 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.003708/0.4971, allocations: 1.055 MB / 0.546 GB, free: 4.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4972, allocations: 8.031 kB / 0.546 GB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.4974, allocations: 86.2 kB / 0.546 GB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.4977, allocations: 59.34 kB / 0.5461 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.4985, allocations: 415.3 kB / 0.5465 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.4986, allocations: 71.75 kB / 0.5466 GB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.4987, allocations: 39.06 kB / 0.5466 GB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4998, allocations: 0.6704 MB / 0.5473 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4999, allocations: 3.953 kB / 0.5473 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.5, allocations: 19.56 kB / 0.5473 GB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5, allocations: 12 kB / 0.5473 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.501, allocations: 0.6245 MB / 0.5479 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.5052, allocations: 2.904 MB / 0.5507 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.5067, allocations: 1.043 MB / 0.5518 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.5073, allocations: 443.2 kB / 0.5522 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.5076, allocations: 101.2 kB / 0.5523 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007783/0.5084, allocations: 499.2 kB / 0.5527 GB, free: 15.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.065e-06/0.5084, allocations: 4 kB / 0.5528 GB, free: 15.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.004038/0.5124, allocations: 1.474 MB / 0.5542 GB, free: 14.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5125, allocations: 89.89 kB / 0.5543 GB, free: 14.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.5129, allocations: 300.2 kB / 0.5546 GB, free: 13.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/0.513, allocations: 40.7 kB / 0.5546 GB, free: 13.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.5131, allocations: 213.7 kB / 0.5548 GB, free: 13.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.5133, allocations: 244 kB / 0.555 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.5134, allocations: 14.38 kB / 0.5551 GB, free: 13.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5136, allocations: 363.2 kB / 0.5554 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.5141, allocations: 342.6 kB / 0.5557 GB, free: 13.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.5146, allocations: 406.6 kB / 0.5561 GB, free: 12.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.5153, allocations: 379.3 kB / 0.5565 GB, free: 12.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5153, allocations: 4 kB / 0.5565 GB, free: 12.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004085/0.5194, allocations: 1.515 MB / 0.558 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.5194, allocations: 8 kB / 0.558 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5194, allocations: 3.938 kB / 0.558 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/0.5233, allocations: 0.9695 MB / 0.5589 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.5238, allocations: 87.88 kB / 0.559 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009167/0.5329, allocations: 4.909 MB / 0.5638 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.5337, allocations: 59.52 kB / 0.5639 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.5337, allocations: 23.98 kB / 0.5639 GB, free: 4.77 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: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {15 13} Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.5339, allocations: 141.2 kB / 0.564 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.534, allocations: 47.44 kB / 0.5641 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.5384, allocations: 1.678 MB / 0.5657 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.5385, allocations: 8 kB / 0.5657 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5385, allocations: 3.953 kB / 0.5657 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.5385, allocations: 3.984 kB / 0.5657 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.5438, allocations: 2.628 MB / 0.5683 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5438, allocations: 0 / 0.5683 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.5442, allocations: 103.9 kB / 0.5684 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003752/0.548, allocations: 0.8987 MB / 0.5693 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.5481, allocations: 19.98 kB / 0.5693 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009077/0.5572, allocations: 4.843 MB / 0.574 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5572, allocations: 0 / 0.574 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.5614, allocations: 1.645 MB / 0.5756 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.5616, allocations: 140.4 kB / 0.5757 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.5617, allocations: 16 kB / 0.5758 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.5623, allocations: 39.97 kB / 0.5758 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.5625, allocations: 64.69 kB / 0.5759 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.5626, allocations: 31.94 kB / 0.5759 GB, free: 8.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.5629, allocations: 246.2 kB / 0.5761 GB, free: 7.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5629, allocations: 4 kB / 0.5761 GB, free: 7.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008233/0.5637, allocations: 247.8 kB / 0.5764 GB, free: 7.719 MB / 394.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: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004505/0.5682, allocations: 2.234 MB / 0.5785 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.5721, allocations: 1.373 MB / 0.5799 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.5721, allocations: 0 / 0.5799 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.575, allocations: 0.9753 MB / 0.5808 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.5757, allocations: 45.16 kB / 0.5809 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.5778, allocations: 0.8327 MB / 0.5817 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.5784, allocations: 0.878 MB / 0.5825 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.5787, allocations: 72.31 kB / 0.5826 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.579, allocations: 187.3 kB / 0.5828 GB, free: 1.004 MB / 394.7 MB Notification: Performance of SimCode: time 2.184e-06/0.579, allocations: 0 / 0.5828 GB, free: 1.004 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.6144, allocations: 18.9 MB / 0.6013 GB, free: 14.25 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.6146, allocations: 168.9 kB / 0.6014 GB, free: 14.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.953, allocations: 4 kB / 0.6014 GB, free: 14.02 MB / 426.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)