Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.0007977/0.0007976, allocations: 102.6 kB / 16.07 MB, free: 32 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.001085/0.001085, allocations: 180.8 kB / 16.96 MB, free: 6.902 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.267/1.267, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1534/0.1534, allocations: 8.08 MB / 300.2 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08749, allocations: 52.51 MB / 416.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002969/0.09051, allocations: 2.944 MB / 419.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.09271, allocations: 1.855 MB / 420.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.09285, allocations: 12 kB / 420.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.09322, allocations: 167.2 kB / 421.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.09375, allocations: 286.4 kB / 421.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.0958, allocations: 1.214 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.09641, allocations: 0.6258 MB / 423.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.09668, allocations: 187.4 kB / 423.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.0969, allocations: 242.9 kB / 423.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.09724, allocations: 326.5 kB / 423.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.09731, allocations: 28 kB / 424 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.09773, allocations: 263.8 kB / 424.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.09782, allocations: 103.5 kB / 424.3 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1535/0.2513, allocations: 311.8 kB / 424.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008519/0.2522, allocations: 0.781 MB / 425.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2522, allocations: 0 / 425.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2522, allocations: 0 / 425.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.2522, allocations: 0 / 425.4 MB, free: 35.7 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006227/0.2584, allocations: 1.782 MB / 427.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2585, allocations: 6.688 kB / 427.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2586, allocations: 85.44 kB / 427.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2587, allocations: 73.53 kB / 427.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.2592, allocations: 434.2 kB / 427.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2592, allocations: 38.72 kB / 427.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.2593, allocations: 48.72 kB / 427.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.2602, allocations: 0.7161 MB / 428.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2602, allocations: 3.938 kB / 428.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.2603, allocations: 20.16 kB / 428.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2603, allocations: 9.406 kB / 428.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/0.2611, allocations: 0.6638 MB / 429.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.264, allocations: 2.879 MB / 432.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2652, allocations: 1.083 MB / 433.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.2658, allocations: 495.8 kB / 433.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.2658, allocations: 20 kB / 433.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2659, allocations: 41.91 kB / 433.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.623e-06/0.2659, allocations: 0 / 433.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01071/0.2766, allocations: 3.203 MB / 437 MB, free: 32.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2766, allocations: 112.8 kB / 437.1 MB, free: 32.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.277, allocations: 381.5 kB / 437.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.277, allocations: 45.98 kB / 437.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.2772, allocations: 209.4 kB / 437.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2773, allocations: 243.6 kB / 438 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.2774, allocations: 79.53 kB / 438 MB, free: 32.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.2774, allocations: 362.3 kB / 438.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.278, allocations: 470.9 kB / 438.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.2786, allocations: 0.5224 MB / 439.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.2798, allocations: 1.025 MB / 440.4 MB, free: 30.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2798, allocations: 0 / 440.4 MB, free: 30.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004711/0.2845, allocations: 2.016 MB / 442.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2846, allocations: 7.094 kB / 442.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2846, allocations: 0 / 442.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005212/0.2898, allocations: 1.54 MB / 444 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2902, allocations: 124.3 kB / 444.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008976/0.2992, allocations: 5.743 MB / 449.8 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.2998, allocations: 74.31 kB / 449.9 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.2998, allocations: 31.06 kB / 449.9 MB, free: 26.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.3001, allocations: 194.6 kB / 450.1 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.3002, allocations: 56.16 kB / 450.2 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/0.305, allocations: 1.996 MB / 452.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3051, allocations: 8.219 kB / 452.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3051, allocations: 0 / 452.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3051, allocations: 3.562 kB / 452.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/0.3104, allocations: 2.836 MB / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3104, allocations: 0 / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.3107, allocations: 89.94 kB / 455.1 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00497/0.3156, allocations: 1.307 MB / 456.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.3157, allocations: 17.91 kB / 456.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/0.3247, allocations: 5.646 MB / 462.1 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3248, allocations: 3.469 kB / 462.1 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.3299, allocations: 1.938 MB / 464 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.33, allocations: 141.7 kB / 464.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.3301, allocations: 27.44 kB / 464.2 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.3306, allocations: 48.31 kB / 464.2 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.3308, allocations: 60.81 kB / 464.3 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.3309, allocations: 28.66 kB / 464.3 MB, free: 19.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.3312, allocations: 261.6 kB / 464.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3312, allocations: 4 kB / 464.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.332, allocations: 284.3 kB / 464.9 MB, free: 19.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004933/0.3369, allocations: 2.526 MB / 467.4 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.3404, allocations: 1.641 MB / 469 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3404, allocations: 1.188 kB / 469 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.3429, allocations: 1.078 MB / 470.1 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.3434, allocations: 66.33 kB / 470.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.3582, allocations: 8.072 MB / 478.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3586, allocations: 0.8819 MB / 479.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.3589, allocations: 70.48 kB / 479.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.3591, allocations: 205.1 kB / 479.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3591, allocations: 0 / 479.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.3944, allocations: 21.86 MB / 0.4895 GB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.3946, allocations: 227.5 kB / 0.4897 GB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.403, allocations: 4 kB / 0.4897 GB, free: 11.78 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)