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/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.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.0008742/0.0008743, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008711/0.0008711, allocations: 175.7 kB / 16.63 MB, free: 6.887 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.25/1.25, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1499/0.1499, allocations: 8.094 MB / 299.8 MB, free: 2.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8 kB / 363 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.0933, allocations: 52.52 MB / 415.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002692/0.09602, allocations: 2.741 MB / 418.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.09827, allocations: 1.77 MB / 420 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.09842, allocations: 8 kB / 420 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.09874, allocations: 131.3 kB / 420.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.09924, allocations: 274.4 kB / 420.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.101, allocations: 1.04 MB / 421.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006835/0.1017, allocations: 0.5946 MB / 422 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1019, allocations: 169 kB / 422.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1021, allocations: 235.1 kB / 422.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.1025, allocations: 314.6 kB / 422.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.1025, allocations: 28 kB / 422.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.103, allocations: 255.8 kB / 423 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.1031, allocations: 103.5 kB / 423.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.1032, allocations: 133.4 kB / 423.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.1038, allocations: 0.5804 MB / 423.8 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1038, allocations: 0 / 423.8 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1038, allocations: 0 / 423.8 MB, free: 232 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1038, allocations: 0 / 423.8 MB, free: 232 kB / 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.1671/0.271, allocations: 1.782 MB / 425.6 MB, free: 41.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.271, allocations: 10.67 kB / 425.6 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.2712, allocations: 82.92 kB / 425.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.2713, allocations: 70.36 kB / 425.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.2718, allocations: 421.8 kB / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2719, allocations: 44.86 kB / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.2719, allocations: 45.91 kB / 426.3 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.2728, allocations: 0.7132 MB / 427 MB, free: 40.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2729, allocations: 0 / 427 MB, free: 40.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.2729, allocations: 18.09 kB / 427 MB, free: 40.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2729, allocations: 18.31 kB / 427 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007675/0.2737, allocations: 0.6571 MB / 427.7 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.2764, allocations: 2.871 MB / 430.5 MB, free: 39.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2777, allocations: 1.087 MB / 431.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.2782, allocations: 488.7 kB / 432.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.563e-05/0.2783, allocations: 18.7 kB / 432.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2784, allocations: 48.22 kB / 432.2 MB, free: 39.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.2784, allocations: 0 / 432.2 MB, free: 39.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.009235/0.2876, allocations: 3.169 MB / 435.3 MB, free: 38.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.2877, allocations: 121.7 kB / 435.5 MB, free: 38.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.288, allocations: 375.4 kB / 435.8 MB, free: 38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.2881, allocations: 43.98 kB / 435.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2882, allocations: 212.9 kB / 436.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2884, allocations: 248.5 kB / 436.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.2884, allocations: 15.25 kB / 436.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.2885, allocations: 361 kB / 436.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.289, allocations: 461.8 kB / 437.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.2896, allocations: 0.523 MB / 437.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.2902, allocations: 0.5018 MB / 438.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2902, allocations: 0 / 438.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004112/0.2943, allocations: 2.005 MB / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2944, allocations: 6.656 kB / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2944, allocations: 0 / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/0.2989, allocations: 1.537 MB / 441.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.2993, allocations: 124.5 kB / 441.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008262/0.3076, allocations: 5.73 MB / 447.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.3082, allocations: 81.83 kB / 447.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.3082, allocations: 30.69 kB / 447.7 MB, free: 31.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.3085, allocations: 192.9 kB / 447.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.3086, allocations: 59.55 kB / 447.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.3128, allocations: 1.985 MB / 449.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3128, allocations: 6.25 kB / 449.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3128, allocations: 10.31 kB / 449.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3128, allocations: 6.703 kB / 449.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.3176, allocations: 2.821 MB / 452.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3177, allocations: 0 / 452.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.318, allocations: 95.14 kB / 452.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004377/0.3224, allocations: 1.302 MB / 454.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.3224, allocations: 15.28 kB / 454.1 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008251/0.3307, allocations: 5.641 MB / 459.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3308, allocations: 0 / 459.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004485/0.3352, allocations: 1.934 MB / 461.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3354, allocations: 141.3 kB / 461.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.3355, allocations: 15.78 kB / 461.9 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.336, allocations: 55.8 kB / 461.9 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.3361, allocations: 66.11 kB / 462 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.3362, allocations: 28.67 kB / 462 MB, free: 24.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.3365, allocations: 256 kB / 462.3 MB, free: 24.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3365, allocations: 0 / 462.3 MB, free: 24.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009568/0.3375, allocations: 281.2 kB / 462.5 MB, free: 24.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004601/0.3421, allocations: 2.523 MB / 465.1 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.3455, allocations: 1.636 MB / 466.7 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3455, allocations: 2.75 kB / 466.7 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.3479, allocations: 1.072 MB / 467.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.3484, allocations: 64.95 kB / 467.8 MB, free: 22.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008654/0.3571, allocations: 4.873 MB / 472.7 MB, free: 19.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3575, allocations: 0.8828 MB / 473.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.3578, allocations: 85.22 kB / 473.7 MB, free: 18.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.358, allocations: 197.7 kB / 473.9 MB, free: 18.81 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.358, allocations: 0 / 473.9 MB, free: 18.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.3935, allocations: 21.61 MB / 495.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.3937, allocations: 209.8 kB / 495.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.312, allocations: 0 / 495.7 MB, free: 4.605 MB / 350.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/linux/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) Environment - environmentSimulation: