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.0009075/0.0009075, allocations: 97.53 kB / 15.73 MB, free: 440 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.0009496/0.0009497, allocations: 178.7 kB / 16.61 MB, free: 6.426 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.3/1.3, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1451/0.1451, allocations: 8.09 MB / 299.7 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09229, allocations: 52.51 MB / 415.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.001559/0.0939, allocations: 1.258 MB / 416.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.09525, allocations: 1.279 MB / 417.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.09532, allocations: 4 kB / 417.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.09552, allocations: 71.67 kB / 418 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.0957, allocations: 87.75 kB / 418.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.09637, allocations: 358.8 kB / 418.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.09655, allocations: 155.6 kB / 418.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.0967, allocations: 77.77 kB / 418.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.09678, allocations: 87.69 kB / 418.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.09698, allocations: 119.5 kB / 418.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.09701, allocations: 12 kB / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.09719, allocations: 99.88 kB / 418.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.09723, allocations: 35.83 kB / 419 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.09729, allocations: 69.58 kB / 419.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.09754, allocations: 231.7 kB / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.09755, allocations: 0 / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09756, allocations: 0 / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.09757, allocations: 0 / 419.3 MB, free: 4.715 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.001496/0.09907, allocations: 0.62 MB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.09911, allocations: 8.031 kB / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.09918, allocations: 66.47 kB / 420 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.09924, allocations: 27.67 kB / 420 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.09942, allocations: 206.7 kB / 420.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.09945, allocations: 12.56 kB / 420.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.09949, allocations: 31.94 kB / 420.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.09989, allocations: 283.5 kB / 420.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.0999, allocations: 0 / 420.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.09994, allocations: 15.95 kB / 420.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.09995, allocations: 4 kB / 420.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1003, allocations: 249.3 kB / 420.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1016, allocations: 0.9644 MB / 421.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.1023, allocations: 366.3 kB / 422.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.1023, allocations: 4 kB / 422.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1024, allocations: 38.69 kB / 422.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.1024, allocations: 0 / 422.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001079/0.1035, allocations: 0.5208 MB / 422.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1035, allocations: 81.11 kB / 422.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1037, allocations: 186.6 kB / 422.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1037, allocations: 33.7 kB / 423 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1038, allocations: 159.9 kB / 423.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1039, allocations: 67.02 kB / 423.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.1039, allocations: 4 kB / 423.2 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.104, allocations: 330.8 kB / 423.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1041, allocations: 83.97 kB / 423.6 MB, free: 76 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1516/0.2557, allocations: 115.7 kB / 423.7 MB, free: 40.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2559, allocations: 99.39 kB / 423.8 MB, free: 40.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.256, allocations: 2.469 kB / 423.8 MB, free: 40.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006132/0.2566, allocations: 335.9 kB / 424.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2566, allocations: 3.562 kB / 424.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2566, allocations: 0.9062 kB / 424.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.257, allocations: 77.72 kB / 424.2 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2572, allocations: 48.38 kB / 424.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2587, allocations: 2.692 MB / 427 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2589, allocations: 21.03 kB / 427 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.2589, allocations: 9.75 kB / 427 MB, free: 38.33 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.0001189/0.259, allocations: 138.8 kB / 427.1 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.2591, allocations: 16.34 kB / 427.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.2597, allocations: 304.5 kB / 427.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2597, allocations: 4.312 kB / 427.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2597, allocations: 0 / 427.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2597, allocations: 1.641 kB / 427.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.2603, allocations: 0.5555 MB / 428 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2603, allocations: 3.969 kB / 428 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.2604, allocations: 28.81 kB / 428 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.2607, allocations: 77.06 kB / 428.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2607, allocations: 6.656 kB / 428.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.2621, allocations: 2.687 MB / 430.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2621, allocations: 5.266 kB / 430.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.2626, allocations: 436.9 kB / 431.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.2626, allocations: 108.1 kB / 431.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2627, allocations: 1.312 kB / 431.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2629, allocations: 20.33 kB / 431.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.2629, allocations: 15.67 kB / 431.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.263, allocations: 6.438 kB / 431.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.2631, allocations: 156.2 kB / 431.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2631, allocations: 1.812 kB / 431.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.2635, allocations: 76.88 kB / 431.6 MB, free: 34.86 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.0006345/0.2641, allocations: 1.052 MB / 432.7 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.2647, allocations: 454.2 kB / 433.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2647, allocations: 3.219 kB / 433.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.2651, allocations: 327.7 kB / 433.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2654, allocations: 30.83 kB / 433.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.2671, allocations: 1.722 MB / 435.2 MB, free: 32.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2672, allocations: 0.7422 MB / 435.9 MB, free: 31.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.2673, allocations: 32.27 kB / 435.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.2674, allocations: 68 kB / 436 MB, free: 31.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2674, allocations: 0 / 436 MB, free: 31.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2817, allocations: 4.703 MB / 440.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.2818, allocations: 197.8 kB / 440.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.904, allocations: 0 / 440.9 MB, free: 31.19 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: