Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",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.001055/0.001055, allocations: 101.7 kB / 16.03 MB, free: 6.332 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.001121/0.001122, allocations: 197.1 kB / 16.95 MB, free: 6.152 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.256/1.256, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04711/0.04711, allocations: 8.088 MB / 298.9 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 361.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2132, allocations: 51.52 MB / 412.9 MB, free: 25.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002702/0.216, allocations: 2.123 MB / 415 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2174, allocations: 1.52 MB / 416.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.2175, allocations: 4 kB / 416.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.2179, allocations: 123.5 kB / 416.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.2182, allocations: 139.3 kB / 416.8 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2195, allocations: 1.008 MB / 417.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.2198, allocations: 314.5 kB / 418.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.22, allocations: 122.4 kB / 418.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.2201, allocations: 123.5 kB / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2202, allocations: 159.3 kB / 418.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.2202, allocations: 24 kB / 418.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.2205, allocations: 243.8 kB / 418.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.2206, allocations: 67.75 kB / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.2207, allocations: 155.2 kB / 418.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.221, allocations: 478.7 kB / 419.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.221, allocations: 0 / 419.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2211, allocations: 8 kB / 419.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2211, allocations: 3.938 kB / 419.4 MB, free: 19.12 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003553/0.2246, allocations: 1.127 MB / 420.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2247, allocations: 12.03 kB / 420.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.749e-05/0.2248, allocations: 59.28 kB / 420.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.2249, allocations: 44.5 kB / 420.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2251, allocations: 283.7 kB / 420.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2251, allocations: 20.94 kB / 421 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.2252, allocations: 28.38 kB / 421 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.2257, allocations: 381 kB / 421.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2257, allocations: 3.938 kB / 421.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2257, allocations: 15.98 kB / 421.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2257, allocations: 8 kB / 421.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.2261, allocations: 318.1 kB / 421.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2278, allocations: 1.458 MB / 423.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.2287, allocations: 402.6 kB / 423.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2289, allocations: 180.8 kB / 423.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.229, allocations: 7.984 kB / 423.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.229, allocations: 38.56 kB / 423.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.814e-06/0.229, allocations: 4 kB / 423.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003951/0.233, allocations: 1.252 MB / 425 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.233, allocations: 102.8 kB / 425.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2332, allocations: 232 kB / 425.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.2333, allocations: 33.7 kB / 425.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.2333, allocations: 160.4 kB / 425.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.2334, allocations: 110.4 kB / 425.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2335, allocations: 78.12 kB / 425.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2336, allocations: 342.8 kB / 426.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2339, allocations: 204.8 kB / 426.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.2341, allocations: 252.2 kB / 426.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2347, allocations: 469 kB / 427 MB, free: 11.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2347, allocations: 0 / 427 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002083/0.2368, allocations: 0.8447 MB / 427.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2368, allocations: 4 kB / 427.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2368, allocations: 0 / 427.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.239, allocations: 449.2 kB / 428.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2393, allocations: 67.91 kB / 428.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.2435, allocations: 4.133 MB / 432.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.2439, allocations: 47.48 kB / 432.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.2439, allocations: 20.09 kB / 432.5 MB, free: 5.297 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (40): * 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: 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%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.2441, allocations: 149.7 kB / 432.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2441, allocations: 23.72 kB / 432.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.2462, allocations: 0.79 MB / 433.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2462, allocations: 4 kB / 433.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2462, allocations: 0 / 433.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2462, allocations: 0 / 433.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.2465, allocations: 437.1 kB / 433.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2465, allocations: 0 / 433.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2467, allocations: 47.84 kB / 434 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.2487, allocations: 449.2 kB / 434.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2488, allocations: 8 kB / 434.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/0.253, allocations: 4.122 MB / 438.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.253, allocations: 4.031 kB / 438.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.2551, allocations: 0.8126 MB / 439.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.2552, allocations: 108.7 kB / 439.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.2553, allocations: 12.09 kB / 439.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2555, allocations: 16 kB / 439.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.2556, allocations: 31.94 kB / 439.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.2556, allocations: 4 kB / 439.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2558, allocations: 160.4 kB / 439.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2558, allocations: 4 kB / 439.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005102/0.2563, allocations: 135.9 kB / 439.8 MB, free: 13.61 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 (26): * Single equations (assignments): 24 * 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%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002751/0.2591, allocations: 1.623 MB / 441.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.261, allocations: 0.8316 MB / 442.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.261, allocations: 0 / 442.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2623, allocations: 0.5636 MB / 442.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2626, allocations: 23.02 kB / 442.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.2695, allocations: 3.949 MB / 446.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2699, allocations: 0.7726 MB / 447.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.27, allocations: 33.92 kB / 447.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2702, allocations: 95.39 kB / 447.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2702, allocations: 0 / 447.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.385, allocations: 9.338 MB / 457 MB, free: 12.33 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.3852, allocations: 225.7 kB / 457.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.298, allocations: 0 / 457.3 MB, free: 12.08 MB / 334.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)