Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.001089/0.001089, allocations: 101.8 kB / 16.31 MB, free: 6.441 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.001271/0.001271, allocations: 186.6 kB / 17.24 MB, free: 5.941 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05307/0.05307, allocations: 8.091 MB / 299.2 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 59.91 kB / 361.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2428, allocations: 51.52 MB / 413.4 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002996/0.2458, allocations: 2.44 MB / 415.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2474, allocations: 1.504 MB / 417.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2476, allocations: 4 kB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.2479, allocations: 163.1 kB / 417.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2483, allocations: 182.7 kB / 417.6 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2495, allocations: 0.9521 MB / 418.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.2499, allocations: 414 kB / 419 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2501, allocations: 154.4 kB / 419.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.2502, allocations: 175.4 kB / 419.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2504, allocations: 227 kB / 419.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.2504, allocations: 32 kB / 419.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.2507, allocations: 207.7 kB / 419.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.2508, allocations: 91.61 kB / 419.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2509, allocations: 203 kB / 420.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.2513, allocations: 0.5296 MB / 420.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2513, allocations: 4 kB / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2513, allocations: 0 / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2513, allocations: 4 kB / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003225/0.2545, allocations: 1.134 MB / 421.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2546, allocations: 11.89 kB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.2547, allocations: 71.38 kB / 421.8 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.2548, allocations: 48.47 kB / 421.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.2551, allocations: 331.4 kB / 422.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2552, allocations: 25.03 kB / 422.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2552, allocations: 32.38 kB / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.2558, allocations: 414.6 kB / 422.6 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2558, allocations: 3.938 kB / 422.7 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.2558, allocations: 16 kB / 422.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2559, allocations: 8 kB / 422.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.2563, allocations: 390.5 kB / 423.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.2579, allocations: 1.503 MB / 424.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.2588, allocations: 0.4889 MB / 425 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.2591, allocations: 252.8 kB / 425.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.2592, allocations: 7.984 kB / 425.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2592, allocations: 38.56 kB / 425.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.2592, allocations: 0 / 425.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003982/0.2632, allocations: 1.51 MB / 426.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2632, allocations: 59.41 kB / 426.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.2635, allocations: 274.5 kB / 427.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.2635, allocations: 37.7 kB / 427.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2636, allocations: 168.8 kB / 427.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.2636, allocations: 145.8 kB / 427.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2638, allocations: 86.25 kB / 427.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.2638, allocations: 338.8 kB / 427.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2641, allocations: 213.1 kB / 428.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.2644, allocations: 225 kB / 428.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.265, allocations: 491.4 kB / 428.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.265, allocations: 0 / 428.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00183/0.2668, allocations: 0.8911 MB / 429.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2668, allocations: 4 kB / 429.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2668, allocations: 7.984 kB / 429.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.2685, allocations: 398.1 kB / 430.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2687, allocations: 71.84 kB / 430.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.2737, allocations: 5.937 MB / 436.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.274, allocations: 35.53 kB / 436.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.2741, allocations: 15.98 kB / 436.2 MB, free: 1.883 MB / 302.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.2743, allocations: 166.5 kB / 436.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.2743, allocations: 31.62 kB / 436.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2764, allocations: 0.9155 MB / 437.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2765, allocations: 4 kB / 437.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2765, allocations: 0 / 437.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2765, allocations: 0 / 437.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.277, allocations: 0.5285 MB / 437.8 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.277, allocations: 0 / 437.8 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2772, allocations: 59.91 kB / 437.9 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.2789, allocations: 390.1 kB / 438.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.2789, allocations: 19.94 kB / 438.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.2849, allocations: 5.866 MB / 444.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2849, allocations: 0 / 444.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.287, allocations: 0.9353 MB / 445.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2872, allocations: 116.6 kB / 445.2 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.2872, allocations: 8 kB / 445.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.2876, allocations: 23.98 kB / 445.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2877, allocations: 44.31 kB / 445.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.2877, allocations: 20 kB / 445.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.2879, allocations: 186 kB / 445.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2879, allocations: 0 / 445.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005617/0.2885, allocations: 167.8 kB / 445.6 MB, free: 7.875 MB / 318.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002807/0.2913, allocations: 1.822 MB / 447.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.2933, allocations: 1.013 MB / 448.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2933, allocations: 0 / 448.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.2946, allocations: 0.7366 MB / 449.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.2951, allocations: 44.55 kB / 449.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.303, allocations: 4.38 MB / 453.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3034, allocations: 0.8013 MB / 454.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.3036, allocations: 46.92 kB / 454.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3038, allocations: 123.4 kB / 454.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3038, allocations: 4 kB / 454.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.348, allocations: 13.63 MB / 468.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.2, allocations: 16 kB / 468.3 MB, free: 1.199 MB / 334.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)