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.001029/0.001029, allocations: 107.2 kB / 16.03 MB, free: 6.34 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.001063/0.001063, allocations: 191.7 kB / 16.95 MB, free: 6.168 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.269/1.269, 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.04563/0.04563, allocations: 8.087 MB / 298.9 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.91 kB / 361.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2002, allocations: 51.52 MB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002694/0.2029, allocations: 2.486 MB / 415.3 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2043, allocations: 1.489 MB / 416.8 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2044, allocations: 4 kB / 416.8 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2047, allocations: 135.4 kB / 417 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.205, allocations: 167 kB / 417.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2063, allocations: 0.886 MB / 418 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.2066, allocations: 422 kB / 418.4 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2068, allocations: 146.4 kB / 418.6 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2069, allocations: 179.3 kB / 418.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2071, allocations: 227 kB / 419 MB, free: 19.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.2072, allocations: 36 kB / 419 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.2075, allocations: 203.8 kB / 419.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2075, allocations: 91.61 kB / 419.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2076, allocations: 199 kB / 419.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.208, allocations: 0.5412 MB / 420 MB, free: 18.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.208, allocations: 3.984 kB / 420 MB, free: 18.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.208, allocations: 0 / 420 MB, free: 18.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2081, allocations: 0 / 420 MB, free: 18.53 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.002961/0.211, allocations: 1.131 MB / 421.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2111, allocations: 15.89 kB / 421.2 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.2111, allocations: 67.38 kB / 421.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.2112, allocations: 40.47 kB / 421.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.2115, allocations: 335.4 kB / 421.6 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2115, allocations: 25.03 kB / 421.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.2116, allocations: 36.38 kB / 421.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.2121, allocations: 414.6 kB / 422.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2121, allocations: 11.94 kB / 422.1 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.2121, allocations: 12 kB / 422.1 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2122, allocations: 8 kB / 422.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2126, allocations: 398.5 kB / 422.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.214, allocations: 1.495 MB / 424 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.2149, allocations: 0.4951 MB / 424.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.2151, allocations: 240.8 kB / 424.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.481e-05/0.2152, allocations: 11.98 kB / 424.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2152, allocations: 34.56 kB / 424.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.473e-06/0.2152, allocations: 4 kB / 424.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003645/0.2189, allocations: 1.514 MB / 426.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2189, allocations: 55.41 kB / 426.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2191, allocations: 266.5 kB / 426.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2192, allocations: 37.7 kB / 426.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.2192, allocations: 168.8 kB / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.2193, allocations: 149.8 kB / 426.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2194, allocations: 86.23 kB / 427 MB, free: 11.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.2195, allocations: 346.8 kB / 427.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.2197, allocations: 213 kB / 427.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.22, allocations: 217 kB / 427.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.2205, allocations: 495.4 kB / 428.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2205, allocations: 0 / 428.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001767/0.2223, allocations: 0.895 MB / 429.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2223, allocations: 4 kB / 429.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2223, allocations: 0 / 429.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.2239, allocations: 402.1 kB / 429.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2242, allocations: 67.91 kB / 429.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.2366, allocations: 5.918 MB / 435.5 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.237, allocations: 43.66 kB / 435.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.237, allocations: 20 kB / 435.6 MB, free: 2.129 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.0001974/0.2372, allocations: 157.7 kB / 435.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.2373, allocations: 39.61 kB / 435.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2393, allocations: 0.9038 MB / 436.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2393, allocations: 11.98 kB / 436.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2393, allocations: 0 / 436.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2393, allocations: 4 kB / 436.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.2397, allocations: 0.5247 MB / 437.2 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2397, allocations: 0 / 437.2 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2399, allocations: 59.91 kB / 437.3 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.2415, allocations: 390.1 kB / 437.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.2415, allocations: 12 kB / 437.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.2476, allocations: 5.869 MB / 443.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2476, allocations: 320 / 443.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.2496, allocations: 0.9352 MB / 444.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.2497, allocations: 120.6 kB / 444.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.2498, allocations: 12 kB / 444.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.2501, allocations: 27.97 kB / 444.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.2502, allocations: 40.38 kB / 444.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2502, allocations: 16 kB / 444.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.2504, allocations: 186 kB / 444.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2504, allocations: 0 / 444.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.251, allocations: 175.8 kB / 445.1 MB, free: 8.113 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.002868/0.2539, allocations: 1.807 MB / 446.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.2558, allocations: 1.013 MB / 447.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2558, allocations: 4 kB / 447.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.257, allocations: 0.7366 MB / 448.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2575, allocations: 44.48 kB / 448.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.2644, allocations: 4.534 MB / 453.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2648, allocations: 0.8013 MB / 454 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.2649, allocations: 50.92 kB / 454 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2651, allocations: 119.4 kB / 454.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2651, allocations: 0 / 454.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08682/0.3519, allocations: 13.54 MB / 467.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.3522, allocations: 240.8 kB / 467.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.421, allocations: 0 / 467.9 MB, free: 1.191 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)