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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.001086/0.001086, allocations: 181.4 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.343/1.343, 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.0008588/0.0008587, allocations: 92.75 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.04669/0.04669, allocations: 8.099 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.488e-05, allocations: 5.391 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08447, allocations: 52.51 MB / 458.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4685, allocations: 81.49 MB / 0.5269 GB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4688, allocations: 63.59 kB / 0.527 GB, free: 4.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03717/0.506, allocations: 14.81 MB / 0.5414 GB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.506, allocations: 3.938 kB / 0.5414 GB, free: 8.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.506, allocations: 11.94 kB / 0.5415 GB, free: 8.617 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003088/0.5091, allocations: 0.9644 MB / 0.5424 GB, free: 7.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5092, allocations: 8.031 kB / 0.5424 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.528e-05/0.5093, allocations: 74.66 kB / 0.5425 GB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5094, allocations: 51.44 kB / 0.5425 GB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.5099, allocations: 363.5 kB / 0.5429 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5099, allocations: 25.97 kB / 0.5429 GB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.51, allocations: 34 kB / 0.5429 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.5109, allocations: 0.5713 MB / 0.5435 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5109, allocations: 0 / 0.5435 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.511, allocations: 17.94 kB / 0.5435 GB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.511, allocations: 8 kB / 0.5435 GB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.5117, allocations: 0.5211 MB / 0.544 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.515, allocations: 2.398 MB / 0.5464 GB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5162, allocations: 0.7826 MB / 0.5471 GB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.5166, allocations: 327.2 kB / 0.5474 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.5168, allocations: 85.55 kB / 0.5475 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5169, allocations: 42.31 kB / 0.5476 GB, free: 3.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.5169, allocations: 0 / 0.5476 GB, free: 3.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.003438/0.5203, allocations: 1.167 MB / 0.5487 GB, free: 2.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.5204, allocations: 111.2 kB / 0.5488 GB, free: 2.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5207, allocations: 243.9 kB / 0.549 GB, free: 2.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.5207, allocations: 39.58 kB / 0.5491 GB, free: 2.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5209, allocations: 187.7 kB / 0.5493 GB, free: 2.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.521, allocations: 181.4 kB / 0.5494 GB, free: 2.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.5211, allocations: 10.62 kB / 0.5494 GB, free: 2.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5212, allocations: 345.3 kB / 0.5498 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.5216, allocations: 255.7 kB / 0.55 GB, free: 1.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.522, allocations: 311.3 kB / 0.5503 GB, free: 1.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.5224, allocations: 294.2 kB / 0.5506 GB, free: 1.234 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5224, allocations: 0 / 0.5506 GB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003373/0.5258, allocations: 1.199 MB / 0.5518 GB, free: 384 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5258, allocations: 8 kB / 0.5518 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5258, allocations: 0 / 0.5518 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003429/0.5293, allocations: 0.7107 MB / 0.5525 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.5297, allocations: 67.89 kB / 0.5525 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.5364, allocations: 3.775 MB / 0.5562 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.537, allocations: 35.75 kB / 0.5562 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.537, allocations: 19.98 kB / 0.5563 GB, free: 12.62 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 () * 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.0001628/0.5372, allocations: 134.3 kB / 0.5564 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.5373, allocations: 47.42 kB / 0.5564 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.541, allocations: 1.303 MB / 0.5577 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5411, allocations: 12 kB / 0.5577 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.5411, allocations: 0 / 0.5577 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5411, allocations: 3.984 kB / 0.5577 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.5457, allocations: 2.079 MB / 0.5598 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5457, allocations: 0 / 0.5598 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5461, allocations: 79.83 kB / 0.5598 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/0.5493, allocations: 0.6931 MB / 0.5605 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.5494, allocations: 16 kB / 0.5605 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/0.5559, allocations: 3.738 MB / 0.5642 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.556, allocations: 4 kB / 0.5642 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.5595, allocations: 1.308 MB / 0.5655 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.5596, allocations: 120.5 kB / 0.5656 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.5597, allocations: 19.94 kB / 0.5656 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.5601, allocations: 27.98 kB / 0.5656 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5603, allocations: 44.5 kB / 0.5657 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.5603, allocations: 16 kB / 0.5657 GB, free: 2.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.5606, allocations: 203.1 kB / 0.5659 GB, free: 2.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5606, allocations: 3.938 kB / 0.5659 GB, free: 2.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006294/0.5612, allocations: 191.8 kB / 0.5661 GB, free: 2.344 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 (46): * Single equations (assignments): 45 * 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.00378/0.565, allocations: 1.888 MB / 0.5679 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.5673, allocations: 0.9517 MB / 0.5688 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5673, allocations: 0 / 0.5688 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.569, allocations: 0.6616 MB / 0.5695 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5693, allocations: 28.89 kB / 0.5695 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.5706, allocations: 0.6348 MB / 0.5701 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.571, allocations: 0.8336 MB / 0.5709 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.5713, allocations: 55.23 kB / 0.571 GB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.5715, allocations: 147.4 kB / 0.5711 GB, free: 13.03 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5715, allocations: 0 / 0.5711 GB, free: 13.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.6016, allocations: 14.84 MB / 0.5856 GB, free: 14.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.6018, allocations: 205.4 kB / 0.5858 GB, free: 14.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.777, allocations: 2.812 kB / 0.5858 GB, free: 14.19 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)