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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.003631/0.003631, allocations: 90.22 kB / 15.91 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 196 kB / 16.83 MB, free: 6.238 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.23/1.23, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1292/0.1292, allocations: 8.091 MB / 298.7 MB, free: 2.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07813/0.07927, allocations: 51.52 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002531/0.08183, allocations: 1.777 MB / 414.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.08327, allocations: 1.337 MB / 415.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.08335, allocations: 8 kB / 415.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.08361, allocations: 75.67 kB / 415.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.08381, allocations: 87.5 kB / 415.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.08458, allocations: 430.6 kB / 416.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.08477, allocations: 218.9 kB / 416.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.08493, allocations: 91 kB / 416.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.08502, allocations: 95.64 kB / 416.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.08522, allocations: 135.5 kB / 416.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.08526, allocations: 16 kB / 416.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.08547, allocations: 123.9 kB / 417 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.08552, allocations: 47.83 kB / 417.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.08563, allocations: 115.3 kB / 417.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.08596, allocations: 327.3 kB / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.08597, allocations: 0 / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.08598, allocations: 0 / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.08599, allocations: 0 / 417.5 MB, free: 5.203 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.001589/0.08758, allocations: 0.6592 MB / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.08762, allocations: 8.031 kB / 418.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.08768, allocations: 62.72 kB / 418.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.08775, allocations: 24.66 kB / 418.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.08793, allocations: 211.9 kB / 418.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.08796, allocations: 12.94 kB / 418.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.08799, allocations: 24.38 kB / 418.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.0884, allocations: 296.1 kB / 418.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.08842, allocations: 3.938 kB / 418.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.08845, allocations: 12 kB / 418.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.08846, allocations: 4 kB / 418.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.0888, allocations: 245.2 kB / 419.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.09008, allocations: 0.9644 MB / 420 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.09083, allocations: 370.4 kB / 420.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.09098, allocations: 85.83 kB / 420.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.09102, allocations: 11.97 kB / 420.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.09105, allocations: 38.56 kB / 420.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.09106, allocations: 0 / 420.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00108/0.09214, allocations: 0.5169 MB / 421 MB, free: 1.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.09219, allocations: 89.47 kB / 421.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.09239, allocations: 190.6 kB / 421.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.09242, allocations: 29.7 kB / 421.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.0925, allocations: 155.9 kB / 421.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.09255, allocations: 70.94 kB / 421.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.09263, allocations: 53.59 kB / 421.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.09273, allocations: 326.8 kB / 421.9 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.09286, allocations: 87.97 kB / 422 MB, free: 376 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.09301, allocations: 127.4 kB / 422.1 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.09329, allocations: 211.3 kB / 422.3 MB, free: 12 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.0933, allocations: 4 kB / 422.3 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006044/0.09391, allocations: 341.7 kB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.09393, allocations: 5.562 kB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.09394, allocations: 4 kB / 422.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.09431, allocations: 81.69 kB / 422.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.0945, allocations: 47.91 kB / 422.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.09642, allocations: 2.678 MB / 425.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.09659, allocations: 19.78 kB / 425.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.09662, allocations: 12 kB / 425.5 MB, free: 12.54 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.09674, allocations: 144.4 kB / 425.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.09681, allocations: 19.75 kB / 425.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.0974, allocations: 288.7 kB / 426 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.09741, allocations: 0 / 426 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.09742, allocations: 4 kB / 426 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.09743, allocations: 3.984 kB / 426 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.09812, allocations: 0.5613 MB / 426.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.09814, allocations: 3.984 kB / 426.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.09825, allocations: 24 kB / 426.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.09855, allocations: 85.52 kB / 426.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.09857, allocations: 0 / 426.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.1004, allocations: 2.67 MB / 429.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1004, allocations: 4.156 kB / 429.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.1009, allocations: 428.3 kB / 429.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.101, allocations: 96.92 kB / 429.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.101, allocations: 7.875 kB / 429.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1013, allocations: 19.98 kB / 429.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1013, allocations: 19.97 kB / 429.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1013, allocations: 4 kB / 429.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1015, allocations: 159.7 kB / 430 MB, free: 7.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1015, allocations: 0 / 430 MB, free: 7.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1019, allocations: 79.78 kB / 430.1 MB, free: 7.555 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007819/0.1026, allocations: 0.9709 MB / 431.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1033, allocations: 458 kB / 431.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1034, allocations: 0 / 431.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.1038, allocations: 333.4 kB / 431.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1042, allocations: 27.97 kB / 431.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.1071, allocations: 2.567 MB / 434.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1073, allocations: 0.7363 MB / 435.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1074, allocations: 37.44 kB / 435.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.1075, allocations: 63.42 kB / 435.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1075, allocations: 0 / 435.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.596/0.7035, allocations: 4.949 MB / 440.2 MB, free: 56.48 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.7037, allocations: 214.3 kB / 440.4 MB, free: 56.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.349, allocations: 3.031 kB / 440.5 MB, free: 56.23 MB / 366.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/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)