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.0008273/0.0008273, allocations: 97.72 kB / 16.06 MB, free: 40 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.001191/0.001191, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.286/1.286, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1471/0.1471, allocations: 8.084 MB / 300.2 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09691, allocations: 52.52 MB / 416.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.00177/0.09872, allocations: 1.409 MB / 417.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1003, allocations: 1.325 MB / 418.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.1004, allocations: 4 kB / 418.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.1006, allocations: 83.66 kB / 418.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1008, allocations: 83.52 kB / 419 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.1016, allocations: 426.5 kB / 419.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1018, allocations: 211 kB / 419.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.102, allocations: 91 kB / 419.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.1021, allocations: 95.58 kB / 419.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1023, allocations: 127.5 kB / 419.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1023, allocations: 15.94 kB / 420 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1025, allocations: 104 kB / 420.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.1026, allocations: 43.77 kB / 420.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1027, allocations: 137 kB / 420.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.103, allocations: 307.3 kB / 420.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1031, allocations: 0 / 420.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1031, allocations: 3.938 kB / 420.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1031, allocations: 4 kB / 420.5 MB, free: 3.84 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.001583/0.1047, allocations: 0.6162 MB / 421.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1047, allocations: 12.03 kB / 421.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.675e-05/0.1048, allocations: 62.73 kB / 421.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.1048, allocations: 24.66 kB / 421.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1051, allocations: 204 kB / 421.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1051, allocations: 20.94 kB / 421.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1051, allocations: 16.38 kB / 421.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.1056, allocations: 300 kB / 421.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1056, allocations: 3.938 kB / 421.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.1057, allocations: 8 kB / 421.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1057, allocations: 8 kB / 421.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.106, allocations: 245.3 kB / 422 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1075, allocations: 0.9644 MB / 423 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.1082, allocations: 362.4 kB / 423.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1084, allocations: 89.7 kB / 423.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.1084, allocations: 20.02 kB / 423.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1084, allocations: 38.69 kB / 423.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1084, allocations: 0 / 423.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001088/0.1095, allocations: 0.5208 MB / 424 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1625/0.2721, allocations: 85.55 kB / 424.1 MB, free: 41.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.2724, allocations: 185.9 kB / 424.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.2725, allocations: 29.89 kB / 424.3 MB, free: 41.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.2726, allocations: 154.7 kB / 424.5 MB, free: 40.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.2727, allocations: 78.22 kB / 424.5 MB, free: 40.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.2727, allocations: 27.34 kB / 424.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.2728, allocations: 327.4 kB / 424.9 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2729, allocations: 82.64 kB / 425 MB, free: 40.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.273, allocations: 123.2 kB / 425.1 MB, free: 40.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.2733, allocations: 214.5 kB / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2734, allocations: 0 / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006015/0.274, allocations: 335.4 kB / 425.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.274, allocations: 9.094 kB / 425.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.274, allocations: 0 / 425.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.2744, allocations: 76.72 kB / 425.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2746, allocations: 45.83 kB / 425.8 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.2763, allocations: 2.676 MB / 428.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2765, allocations: 20.45 kB / 428.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2765, allocations: 16.45 kB / 428.5 MB, free: 37.96 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 (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.0001317/0.2767, allocations: 138.1 kB / 428.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.2767, allocations: 23.19 kB / 428.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.2773, allocations: 291.2 kB / 428.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2773, allocations: 3.094 kB / 428.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2773, allocations: 7.062 kB / 428.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2774, allocations: 3.844 kB / 428.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.2781, allocations: 0.5487 MB / 429.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2781, allocations: 3.781 kB / 429.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.2782, allocations: 30.33 kB / 429.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.2785, allocations: 76.94 kB / 429.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2785, allocations: 5.328 kB / 429.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.2799, allocations: 2.675 MB / 432.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2799, allocations: 0 / 432.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2804, allocations: 436.1 kB / 432.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.2804, allocations: 98.83 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.2805, allocations: 5.312 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2807, allocations: 20.97 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2808, allocations: 17.23 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2808, allocations: 9.062 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2809, allocations: 159.4 kB / 433 MB, free: 34.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2809, allocations: 0 / 433 MB, free: 34.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.2814, allocations: 75.94 kB / 433.1 MB, free: 34.48 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 (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.0006866/0.282, allocations: 0.9706 MB / 434 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006302/0.2827, allocations: 457.1 kB / 434.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2827, allocations: 0 / 434.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.283, allocations: 332.5 kB / 434.8 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2835, allocations: 25.95 kB / 434.8 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.286, allocations: 2.6 MB / 437.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2862, allocations: 0.7377 MB / 438.2 MB, free: 30.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.2863, allocations: 33.86 kB / 438.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2865, allocations: 66.22 kB / 438.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2865, allocations: 0 / 438.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.3007, allocations: 4.833 MB / 443.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.3009, allocations: 218.1 kB / 443.3 MB, free: 30.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.959, allocations: 3.938 kB / 443.3 MB, free: 30.34 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/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)