Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",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.00119/0.00119, allocations: 181.4 kB / 8.051 MB, free: 1.023 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.345/1.345, allocations: 221.5 MB / 230 MB, free: 7.598 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.0008487/0.0008485, allocations: 97.39 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04571/0.04571, allocations: 8.113 MB / 339.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.849e-05, allocations: 3.469 kB / 398.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09836, allocations: 52.51 MB / 451.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.203, allocations: 78.65 MB / 0.5173 GB, free: 6.566 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.2033, allocations: 59.98 kB / 0.5174 GB, free: 6.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2239/0.4272, allocations: 7.608 MB / 0.5248 GB, free: 78.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4272, allocations: 0 / 0.5248 GB, free: 78.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4272, allocations: 4.594 kB / 0.5248 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001137/0.4284, allocations: 0.5373 MB / 0.5253 GB, free: 77.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4284, allocations: 13.23 kB / 0.5253 GB, free: 77.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.4285, allocations: 29.67 kB / 0.5254 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4287, allocations: 207 kB / 0.5256 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4287, allocations: 8.609 kB / 0.5256 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.4287, allocations: 13.42 kB / 0.5256 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003573/0.4291, allocations: 225.7 kB / 0.5258 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.4295, allocations: 252.7 kB / 0.526 GB, free: 77.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4296, allocations: 5.234 kB / 0.526 GB, free: 77.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.4296, allocations: 2.516 kB / 0.526 GB, free: 77.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4296, allocations: 9.156 kB / 0.5261 GB, free: 77.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.431, allocations: 0.9337 MB / 0.527 GB, free: 77.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.4316, allocations: 413.8 kB / 0.5274 GB, free: 76.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.4317, allocations: 70.94 kB / 0.5274 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.4318, allocations: 7.469 kB / 0.5274 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4318, allocations: 38.39 kB / 0.5275 GB, free: 76.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.4318, allocations: 4 kB / 0.5275 GB, free: 76.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006056/0.4324, allocations: 207.3 kB / 0.5277 GB, free: 76.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.4325, allocations: 77.62 kB / 0.5278 GB, free: 76.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4326, allocations: 189.8 kB / 0.5279 GB, free: 76.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4327, allocations: 25.7 kB / 0.528 GB, free: 76.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.4327, allocations: 174.3 kB / 0.5281 GB, free: 76.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.4328, allocations: 51.23 kB / 0.5282 GB, free: 76.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.4328, allocations: 4 kB / 0.5282 GB, free: 76.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.4329, allocations: 328.1 kB / 0.5285 GB, free: 76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.433, allocations: 72.34 kB / 0.5286 GB, free: 76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.4331, allocations: 106.4 kB / 0.5287 GB, free: 75.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.4334, allocations: 108.2 kB / 0.5288 GB, free: 75.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4334, allocations: 4 kB / 0.5288 GB, free: 75.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006638/0.4341, allocations: 314.7 kB / 0.5291 GB, free: 75.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4341, allocations: 4.969 kB / 0.5291 GB, free: 75.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4341, allocations: 1.375 kB / 0.5291 GB, free: 75.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.4345, allocations: 74.81 kB / 0.5291 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4347, allocations: 41.88 kB / 0.5292 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.4361, allocations: 2.559 MB / 0.5317 GB, free: 73.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.4363, allocations: 13.09 kB / 0.5317 GB, free: 73.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.4363, allocations: 9.172 kB / 0.5317 GB, free: 73.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.4364, allocations: 109.5 kB / 0.5318 GB, free: 73.37 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004932/0.4369, allocations: 213.8 kB / 0.532 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.4369, allocations: 20.08 kB / 0.532 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.4375, allocations: 252.9 kB / 0.5323 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4375, allocations: 1.438 kB / 0.5323 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4375, allocations: 1.188 kB / 0.5323 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4375, allocations: 2.5 kB / 0.5323 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.4384, allocations: 0.6591 MB / 0.5329 GB, free: 72.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4385, allocations: 2.188 kB / 0.5329 GB, free: 72.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.4386, allocations: 22.27 kB / 0.5329 GB, free: 72.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.4388, allocations: 72.09 kB / 0.533 GB, free: 72.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4389, allocations: 1.844 kB / 0.533 GB, free: 72.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.4402, allocations: 2.557 MB / 0.5355 GB, free: 70.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4403, allocations: 1.906 kB / 0.5355 GB, free: 70.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.4408, allocations: 398.4 kB / 0.5359 GB, free: 70.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.4408, allocations: 98.81 kB / 0.536 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4409, allocations: 0.6562 kB / 0.536 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.4411, allocations: 24.48 kB / 0.536 GB, free: 70.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4411, allocations: 12.23 kB / 0.536 GB, free: 70.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4411, allocations: 8.094 kB / 0.536 GB, free: 70.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4412, allocations: 148.6 kB / 0.5362 GB, free: 70.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4413, allocations: 0 / 0.5362 GB, free: 70.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000404/0.4417, allocations: 65.2 kB / 0.5362 GB, free: 70.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006838/0.4424, allocations: 1.007 MB / 0.5372 GB, free: 69.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.4429, allocations: 411.5 kB / 0.5376 GB, free: 68.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4429, allocations: 0 / 0.5376 GB, free: 68.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.4432, allocations: 294.8 kB / 0.5379 GB, free: 68.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.4435, allocations: 15.61 kB / 0.5379 GB, free: 68.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.4441, allocations: 298.5 kB / 0.5382 GB, free: 68.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.4443, allocations: 0.7406 MB / 0.5389 GB, free: 67.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4444, allocations: 33.61 kB / 0.5389 GB, free: 67.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.4445, allocations: 62.3 kB / 0.539 GB, free: 67.85 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4445, allocations: 1.219 kB / 0.539 GB, free: 67.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4663, allocations: 4.057 MB / 0.543 GB, free: 67.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.4665, allocations: 130.6 kB / 0.5431 GB, free: 67.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.07, allocations: 0 / 0.5431 GB, free: 67.42 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)