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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007111/0.0007112, allocations: 97.25 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007508/0.0007509, allocations: 171.1 kB / 16.62 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1513/0.1513, allocations: 8.085 MB / 299.8 MB, free: 2.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 363 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08506, allocations: 52.51 MB / 415.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.001536/0.08664, allocations: 1.328 MB / 416.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.08801, allocations: 1.279 MB / 418.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.08809, allocations: 4 kB / 418.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.08829, allocations: 67.66 kB / 418.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.08848, allocations: 83.52 kB / 418.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.08915, allocations: 366.8 kB / 418.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.08934, allocations: 199 kB / 418.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.0895, allocations: 84.61 kB / 418.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.08958, allocations: 83.64 kB / 418.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.08977, allocations: 123.5 kB / 419.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.08981, allocations: 12 kB / 419.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.09, allocations: 111.9 kB / 419.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.09004, allocations: 39.83 kB / 419.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.09011, allocations: 65.58 kB / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.09037, allocations: 243.6 kB / 419.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.09039, allocations: 0 / 419.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09039, allocations: 0 / 419.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.0904, allocations: 0 / 419.5 MB, free: 4.535 MB / 350.1 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.00142/0.09183, allocations: 0.62 MB / 420.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.09187, allocations: 12.03 kB / 420.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.09193, allocations: 58.48 kB / 420.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.09199, allocations: 27.67 kB / 420.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.09217, allocations: 198.7 kB / 420.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.0922, allocations: 24.55 kB / 420.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.09224, allocations: 20 kB / 420.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.09266, allocations: 287.5 kB / 420.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.09268, allocations: 7.922 kB / 420.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.09271, allocations: 15.95 kB / 420.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.09273, allocations: 8 kB / 420.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.09306, allocations: 237.3 kB / 421 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.09436, allocations: 0.976 MB / 422 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.0951, allocations: 362.5 kB / 422.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.09525, allocations: 93.69 kB / 422.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.0953, allocations: 4 kB / 422.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.09533, allocations: 38.56 kB / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.09534, allocations: 0 / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001026/0.09637, allocations: 0.5169 MB / 423 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.09642, allocations: 89.05 kB / 423.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.09663, allocations: 186.6 kB / 423.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.09666, allocations: 33.64 kB / 423.3 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.09676, allocations: 163.9 kB / 423.5 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.09681, allocations: 67.02 kB / 423.5 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.09683, allocations: 0 / 423.5 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1528/0.2496, allocations: 327.6 kB / 423.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2498, allocations: 83.39 kB / 423.9 MB, free: 41.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.25, allocations: 123.4 kB / 424 MB, free: 41.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2501, allocations: 98.55 kB / 424.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2501, allocations: 2.375 kB / 424.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005329/0.2507, allocations: 334.2 kB / 424.5 MB, free: 41.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2507, allocations: 11.8 kB / 424.5 MB, free: 41.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2507, allocations: 0 / 424.5 MB, free: 41.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.251, allocations: 70.8 kB / 424.5 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2512, allocations: 51.67 kB / 424.6 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2526, allocations: 2.667 MB / 427.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2527, allocations: 14.22 kB / 427.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2527, allocations: 16 kB / 427.3 MB, free: 38.65 MB / 350.1 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 () * Number of clocked 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 0.0001024/0.2528, allocations: 139.6 kB / 427.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.2529, allocations: 32.02 kB / 427.5 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.2534, allocations: 286.2 kB / 427.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2534, allocations: 7.062 kB / 427.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2534, allocations: 3.406 kB / 427.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2534, allocations: 0 / 427.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.254, allocations: 0.5571 MB / 428.3 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.254, allocations: 0 / 428.3 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.2541, allocations: 28.61 kB / 428.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.2544, allocations: 78.34 kB / 428.4 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2544, allocations: 7.094 kB / 428.4 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.2557, allocations: 2.668 MB / 431.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2557, allocations: 3 kB / 431.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.2561, allocations: 428.2 kB / 431.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2561, allocations: 100.7 kB / 431.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2562, allocations: 7.828 kB / 431.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2564, allocations: 21.3 kB / 431.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.2564, allocations: 13.73 kB / 431.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2564, allocations: 10.5 kB / 431.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2565, allocations: 151.4 kB / 431.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2565, allocations: 0 / 431.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.2569, allocations: 78.5 kB / 431.9 MB, free: 35.19 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.0005747/0.2575, allocations: 0.9674 MB / 432.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.2581, allocations: 458.9 kB / 433.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2581, allocations: 0 / 433.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.2584, allocations: 326.5 kB / 433.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2588, allocations: 29.92 kB / 433.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2603, allocations: 1.264 MB / 434.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.2605, allocations: 0.7395 MB / 435.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.2606, allocations: 32.41 kB / 435.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.2607, allocations: 65.55 kB / 435.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2607, allocations: 4 kB / 435.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.2764, allocations: 4.75 MB / 440.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.2767, allocations: 199 kB / 440.7 MB, free: 32.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.902, allocations: 0 / 440.7 MB, free: 32.06 MB / 350.1 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) Environment - environmentSimulation: