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.001115/0.001121, allocations: 102.2 kB / 16.31 MB, free: 5.879 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.001155/0.001155, allocations: 189.5 kB / 17.24 MB, free: 5.539 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05404/0.05404, allocations: 8.089 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.89 kB / 361.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2262, allocations: 51.52 MB / 413.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002611/0.2288, allocations: 2.09 MB / 415.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2303, allocations: 1.524 MB / 417 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.2304, allocations: 4 kB / 417 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.2308, allocations: 143.2 kB / 417.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.2311, allocations: 159 kB / 417.3 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2325, allocations: 1.065 MB / 418.3 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2327, allocations: 310.5 kB / 418.6 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2329, allocations: 122.3 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.233, allocations: 127.5 kB / 418.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2331, allocations: 159.3 kB / 419 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.2332, allocations: 24 kB / 419.1 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2335, allocations: 247.8 kB / 419.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2336, allocations: 63.7 kB / 419.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.2337, allocations: 155.2 kB / 419.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.234, allocations: 494.5 kB / 420 MB, free: 18.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2341, allocations: 0 / 420 MB, free: 18.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2341, allocations: 0 / 420 MB, free: 18.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2341, allocations: 0 / 420 MB, free: 18.91 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.003541/0.2376, allocations: 1.127 MB / 421.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2377, allocations: 12.02 kB / 421.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.2378, allocations: 55.3 kB / 421.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.2378, allocations: 36.56 kB / 421.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2381, allocations: 295.6 kB / 421.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2381, allocations: 20.94 kB / 421.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2381, allocations: 28.38 kB / 421.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.2386, allocations: 381.1 kB / 421.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2386, allocations: 3.938 kB / 421.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.2387, allocations: 8 kB / 422 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2387, allocations: 8 kB / 422 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.239, allocations: 314.1 kB / 422.3 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.2406, allocations: 1.466 MB / 423.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.2415, allocations: 408.2 kB / 424.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2417, allocations: 176.8 kB / 424.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.2418, allocations: 8 kB / 424.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.2418, allocations: 34.56 kB / 424.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.2418, allocations: 0 / 424.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003674/0.2455, allocations: 1.262 MB / 425.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.2455, allocations: 114.7 kB / 425.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2457, allocations: 220.1 kB / 425.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2457, allocations: 37.7 kB / 426 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.2458, allocations: 160.4 kB / 426.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.2458, allocations: 102.5 kB / 426.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.246, allocations: 82.11 kB / 426.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.246, allocations: 338.8 kB / 426.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.2463, allocations: 200.8 kB / 426.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.2465, allocations: 256.2 kB / 427.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.2471, allocations: 465.1 kB / 427.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2471, allocations: 0 / 427.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001869/0.249, allocations: 0.8407 MB / 428.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.249, allocations: 8 kB / 428.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.249, allocations: 4 kB / 428.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.2509, allocations: 449.2 kB / 428.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2511, allocations: 71.89 kB / 428.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.2554, allocations: 4.141 MB / 433 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.2557, allocations: 39.53 kB / 433.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2558, allocations: 19.92 kB / 433.1 MB, free: 5.086 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.0001637/0.2559, allocations: 158.6 kB / 433.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.256, allocations: 19.72 kB / 433.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.2579, allocations: 0.7861 MB / 434.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2579, allocations: 4 kB / 434.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2579, allocations: 4 kB / 434.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2579, allocations: 7.922 kB / 434.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.2583, allocations: 433.1 kB / 434.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2583, allocations: 4 kB / 434.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2584, allocations: 43.98 kB / 434.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.2603, allocations: 449.1 kB / 435 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.2604, allocations: 8 kB / 435 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.2647, allocations: 4.126 MB / 439.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2647, allocations: 0 / 439.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.2667, allocations: 0.8126 MB / 439.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.2668, allocations: 108.7 kB / 440 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.2669, allocations: 12 kB / 440 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2671, allocations: 15.98 kB / 440.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.2672, allocations: 23.97 kB / 440.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.2672, allocations: 8 kB / 440.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.2674, allocations: 160.5 kB / 440.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2674, allocations: 0 / 440.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.2679, allocations: 135.9 kB / 440.4 MB, free: 13.4 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.002662/0.2706, allocations: 1.627 MB / 442 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2724, allocations: 0.8238 MB / 442.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2725, allocations: 0 / 442.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2738, allocations: 0.5597 MB / 443.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2741, allocations: 20.67 kB / 443.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.2806, allocations: 3.855 MB / 447.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.281, allocations: 0.7649 MB / 448 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.2811, allocations: 41.89 kB / 448.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2813, allocations: 87.41 kB / 448.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2813, allocations: 0 / 448.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.3156, allocations: 9.382 MB / 457.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.972/10.29, allocations: 13.67 kB / 457.6 MB, free: 12.12 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)