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.0007573/0.0007572, allocations: 103 kB / 16.07 MB, free: 32 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.0008577/0.0008578, allocations: 181.8 kB / 16.96 MB, free: 6.875 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.263/1.263, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1529/0.1529, allocations: 8.087 MB / 300.2 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 8.281 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.0872, allocations: 52.51 MB / 416.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002084/0.08932, allocations: 1.759 MB / 417.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.09112, allocations: 1.512 MB / 419.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.09122, allocations: 4 kB / 419.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.09155, allocations: 123.5 kB / 419.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.09186, allocations: 135.2 kB / 419.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.09352, allocations: 1.02 MB / 420.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.09385, allocations: 298.5 kB / 421 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.09405, allocations: 108 kB / 421.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.09416, allocations: 103.6 kB / 421.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.09432, allocations: 143.3 kB / 421.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.09436, allocations: 16 kB / 421.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.09475, allocations: 227.8 kB / 421.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.09481, allocations: 47.7 kB / 421.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.09495, allocations: 172.9 kB / 421.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.09546, allocations: 470.5 kB / 422.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09547, allocations: 0 / 422.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.09548, allocations: 0 / 422.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.09549, allocations: 0 / 422.2 MB, free: 2.172 MB / 350.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.003785/0.09928, allocations: 1.09 MB / 423.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.09933, allocations: 12.03 kB / 423.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.09944, allocations: 63.28 kB / 423.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.09951, allocations: 32.56 kB / 423.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.09982, allocations: 287.7 kB / 423.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.09985, allocations: 24.94 kB / 423.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.09991, allocations: 28.38 kB / 423.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.1005, allocations: 377.1 kB / 424.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1005, allocations: 7.938 kB / 424.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1006, allocations: 12 kB / 424.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.1006, allocations: 8 kB / 424.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1487/0.2493, allocations: 313.5 kB / 424.4 MB, free: 41.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.2511, allocations: 1.461 MB / 425.9 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.252, allocations: 400.9 kB / 426.3 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.2523, allocations: 180.7 kB / 426.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.2523, allocations: 6.875 kB / 426.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.2523, allocations: 38.64 kB / 426.5 MB, free: 40.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.2524, allocations: 0 / 426.5 MB, free: 40.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003899/0.2563, allocations: 1.245 MB / 427.8 MB, free: 40.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2563, allocations: 112.2 kB / 427.9 MB, free: 40.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2565, allocations: 227.4 kB / 428.1 MB, free: 40.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.2565, allocations: 35.95 kB / 428.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.2566, allocations: 158.9 kB / 428.3 MB, free: 40.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.2566, allocations: 99.48 kB / 428.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.2567, allocations: 42.92 kB / 428.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.2567, allocations: 335.1 kB / 428.7 MB, free: 39.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.257, allocations: 210.1 kB / 429 MB, free: 39.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.2573, allocations: 250.1 kB / 429.2 MB, free: 39.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.2578, allocations: 465 kB / 429.7 MB, free: 39.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2579, allocations: 0 / 429.7 MB, free: 39.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001995/0.2599, allocations: 0.8431 MB / 430.5 MB, free: 39.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2599, allocations: 7.719 kB / 430.5 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2599, allocations: 3.328 kB / 430.5 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.262, allocations: 449.1 kB / 430.9 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.2622, allocations: 68.91 kB / 431 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.2663, allocations: 3.832 MB / 434.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.2666, allocations: 47.16 kB / 434.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2666, allocations: 20.36 kB / 434.9 MB, free: 36.93 MB / 350.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.0001347/0.2668, allocations: 146.1 kB / 435.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.2668, allocations: 23.94 kB / 435.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.2688, allocations: 0.7803 MB / 435.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2688, allocations: 3.578 kB / 435.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2688, allocations: 11.28 kB / 435.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2688, allocations: 0 / 435.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.2691, allocations: 436.8 kB / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2691, allocations: 0 / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2693, allocations: 44.58 kB / 436.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.2712, allocations: 442.2 kB / 436.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2713, allocations: 24.64 kB / 436.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.275, allocations: 3.815 MB / 440.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.275, allocations: 10.67 kB / 440.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.2768, allocations: 0.8147 MB / 441.4 MB, free: 32.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.2768, allocations: 109.8 kB / 441.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.2769, allocations: 4 kB / 441.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.2771, allocations: 27.19 kB / 441.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.2772, allocations: 27.34 kB / 441.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.2772, allocations: 7.031 kB / 441.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.2773, allocations: 159.7 kB / 441.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2773, allocations: 0 / 441.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.2777, allocations: 131 kB / 441.9 MB, free: 32.12 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 (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.002282/0.28, allocations: 1.626 MB / 443.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2815, allocations: 0.8077 MB / 444.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2815, allocations: 0 / 444.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2827, allocations: 0.5507 MB / 444.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.283, allocations: 26.28 kB / 444.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.2885, allocations: 3.978 MB / 448.9 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2887, allocations: 0.7691 MB / 449.7 MB, free: 27.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.2888, allocations: 34.45 kB / 449.7 MB, free: 27.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2889, allocations: 93.52 kB / 449.8 MB, free: 27.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.289, allocations: 0 / 449.8 MB, free: 27.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.3064, allocations: 8.79 MB / 458.6 MB, free: 26.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.3066, allocations: 227.5 kB / 458.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.139, allocations: 3.938 kB / 458.8 MB, free: 26.22 MB / 350.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)