Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",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.001265/0.001265, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 230 MB, free: 7.586 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.0009133/0.0009132, allocations: 100.5 kB / 280.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04901/0.04901, allocations: 8.097 MB / 339.8 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.346e-05, allocations: 2.5 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 52.52 MB / 451.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.219, allocations: 78.71 MB / 0.5174 GB, free: 6.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.2192, allocations: 63.97 kB / 0.5174 GB, free: 6.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2968/0.5161, allocations: 7.979 MB / 0.5252 GB, free: 78.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5161, allocations: 0 / 0.5252 GB, free: 78.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.5161, allocations: 4.188 kB / 0.5252 GB, free: 78.15 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001298/0.5174, allocations: 0.5914 MB / 0.5258 GB, free: 77.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5175, allocations: 13.83 kB / 0.5258 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.5175, allocations: 27.8 kB / 0.5258 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5178, allocations: 243.2 kB / 0.5261 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5178, allocations: 8.188 kB / 0.5261 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.5179, allocations: 17.44 kB / 0.5261 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004341/0.5183, allocations: 276.7 kB / 0.5264 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.5187, allocations: 252.2 kB / 0.5266 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5187, allocations: 1.078 kB / 0.5266 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.5187, allocations: 0 / 0.5266 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5188, allocations: 11.3 kB / 0.5266 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.5202, allocations: 0.8827 MB / 0.5275 GB, free: 77.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.5207, allocations: 330.3 kB / 0.5278 GB, free: 77.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.5208, allocations: 110.7 kB / 0.5279 GB, free: 77.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.521, allocations: 90.47 kB / 0.528 GB, free: 76.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.521, allocations: 44.58 kB / 0.528 GB, free: 76.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.521, allocations: 0 / 0.528 GB, free: 76.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006751/0.5217, allocations: 273.2 kB / 0.5283 GB, free: 76.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.5217, allocations: 54.31 kB / 0.5283 GB, free: 76.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.5219, allocations: 169.1 kB / 0.5285 GB, free: 76.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5219, allocations: 27.8 kB / 0.5285 GB, free: 76.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.522, allocations: 163.9 kB / 0.5287 GB, free: 76.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.5221, allocations: 76.05 kB / 0.5288 GB, free: 76.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5221, allocations: 0 / 0.5288 GB, free: 76.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.5222, allocations: 330.3 kB / 0.5291 GB, free: 76.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5223, allocations: 106.1 kB / 0.5292 GB, free: 76.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.5225, allocations: 105.5 kB / 0.5293 GB, free: 76.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.5229, allocations: 131.8 kB / 0.5294 GB, free: 76.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5229, allocations: 0 / 0.5294 GB, free: 76.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007584/0.5236, allocations: 365.9 kB / 0.5297 GB, free: 76.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5237, allocations: 4.781 kB / 0.5298 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5237, allocations: 1.75 kB / 0.5298 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.524, allocations: 55.12 kB / 0.5298 GB, free: 76.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.5242, allocations: 55.64 kB / 0.5299 GB, free: 76.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.5254, allocations: 1.39 MB / 0.5312 GB, free: 74.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5256, allocations: 12.16 kB / 0.5312 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.5256, allocations: 17.78 kB / 0.5312 GB, free: 74.91 MB / 362.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 (31): * Single equations (assignments): 30 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.5257, allocations: 105.4 kB / 0.5313 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006234/0.5263, allocations: 264.8 kB / 0.5316 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.5264, allocations: 18.83 kB / 0.5316 GB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.5271, allocations: 300.4 kB / 0.5319 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5272, allocations: 3.188 kB / 0.5319 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5272, allocations: 0.7031 kB / 0.5319 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5272, allocations: 5.391 kB / 0.5319 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5283, allocations: 0.6863 MB / 0.5326 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5283, allocations: 8.75 kB / 0.5326 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.5285, allocations: 36.92 kB / 0.5326 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.5287, allocations: 51.88 kB / 0.5327 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.5287, allocations: 1.766 kB / 0.5327 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.5298, allocations: 1.385 MB / 0.534 GB, free: 73.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5298, allocations: 1 kB / 0.534 GB, free: 73.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.5304, allocations: 374.7 kB / 0.5344 GB, free: 73.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.5305, allocations: 104.8 kB / 0.5345 GB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.5305, allocations: 0.75 kB / 0.5345 GB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.5307, allocations: 1 kB / 0.5345 GB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.5307, allocations: 19.17 kB / 0.5345 GB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5307, allocations: 4.656 kB / 0.5345 GB, free: 72.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.5308, allocations: 135.6 kB / 0.5346 GB, free: 72.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5308, allocations: 5 kB / 0.5346 GB, free: 72.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.5313, allocations: 72.34 kB / 0.5347 GB, free: 72.84 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008379/0.5321, allocations: 0.9048 MB / 0.5356 GB, free: 72.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.5329, allocations: 375.3 kB / 0.536 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5329, allocations: 0 / 0.536 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.5333, allocations: 229.5 kB / 0.5362 GB, free: 71.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.5335, allocations: 15.25 kB / 0.5362 GB, free: 71.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.5344, allocations: 316.2 kB / 0.5365 GB, free: 71.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.5347, allocations: 0.742 MB / 0.5372 GB, free: 71.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.5348, allocations: 31.47 kB / 0.5372 GB, free: 71.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5349, allocations: 65.58 kB / 0.5373 GB, free: 71.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5349, allocations: 0 / 0.5373 GB, free: 71.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.5594, allocations: 3.691 MB / 0.5409 GB, free: 70.87 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.5596, allocations: 144.8 kB / 0.541 GB, free: 70.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.153, allocations: 0 / 0.541 GB, free: 70.67 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)