Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 177.9 kB / 8.044 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 230 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008752, allocations: 91.59 kB / 280.9 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04684/0.04684, allocations: 8.091 MB / 339.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.344e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 52.52 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.614, allocations: 80.53 MB / 0.5191 GB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/0.6144, allocations: 68.64 kB / 0.5191 GB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07085/0.6853, allocations: 18.13 MB / 0.5368 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.961e-06/0.6854, allocations: 0 / 0.5368 GB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.426e-05/0.6854, allocations: 15.88 kB / 0.5368 GB, free: 15.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006442/0.6919, allocations: 1.142 MB / 0.538 GB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.692, allocations: 11.98 kB / 0.538 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.6924, allocations: 67.25 kB / 0.538 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.6935, allocations: 452.4 kB / 0.5385 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.6936, allocations: 16 kB / 0.5385 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6937, allocations: 24 kB / 0.5385 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001617/0.6954, allocations: 0.6313 MB / 0.5391 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6971, allocations: 0.6472 MB / 0.5398 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.6972, allocations: 0 / 0.5398 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/0.6973, allocations: 3.938 kB / 0.5398 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.6973, allocations: 11.98 kB / 0.5398 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00664/0.704, allocations: 2.975 MB / 0.5427 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.7061, allocations: 1.039 MB / 0.5437 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/0.707, allocations: 453.6 kB / 0.5441 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.7073, allocations: 104.9 kB / 0.5442 GB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.7074, allocations: 43.09 kB / 0.5443 GB, free: 9.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/0.7074, allocations: 3.938 kB / 0.5443 GB, free: 9.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.008521/0.716, allocations: 1.734 MB / 0.546 GB, free: 8.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.7161, allocations: 115.5 kB / 0.5461 GB, free: 7.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/0.7168, allocations: 332.1 kB / 0.5464 GB, free: 7.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.7169, allocations: 25.7 kB / 0.5464 GB, free: 7.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.7172, allocations: 224.2 kB / 0.5466 GB, free: 7.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.7175, allocations: 232.2 kB / 0.5469 GB, free: 7.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.7176, allocations: 0 / 0.5469 GB, free: 7.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.7179, allocations: 367.7 kB / 0.5472 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/0.7188, allocations: 360.2 kB / 0.5475 GB, free: 6.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/0.7198, allocations: 406.5 kB / 0.5479 GB, free: 6.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.7216, allocations: 432.9 kB / 0.5483 GB, free: 6.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.7216, allocations: 4.031 kB / 0.5483 GB, free: 6.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008753/0.7304, allocations: 1.76 MB / 0.5501 GB, free: 4.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.7305, allocations: 11.95 kB / 0.5501 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7305, allocations: 0 / 0.5501 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008166/0.7387, allocations: 1.106 MB / 0.5512 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.7394, allocations: 83.88 kB / 0.5512 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.7562, allocations: 5.468 MB / 0.5566 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.7574, allocations: 35.53 kB / 0.5566 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.7577, allocations: 27.97 kB / 0.5566 GB, free: 13.56 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.7581, allocations: 118.6 kB / 0.5568 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.7584, allocations: 59.3 kB / 0.5568 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009354/0.7678, allocations: 1.884 MB / 0.5586 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.7679, allocations: 8 kB / 0.5587 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7679, allocations: 0 / 0.5587 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.7679, allocations: 3.984 kB / 0.5587 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.7795, allocations: 2.85 MB / 0.5614 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.7796, allocations: 0 / 0.5614 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.7803, allocations: 91.88 kB / 0.5615 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008317/0.7886, allocations: 1.105 MB / 0.5626 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.7889, allocations: 12 kB / 0.5626 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/0.8053, allocations: 5.402 MB / 0.5679 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.8054, allocations: 0 / 0.5679 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009492/0.8149, allocations: 1.895 MB / 0.5697 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.8153, allocations: 152.1 kB / 0.5699 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.8157, allocations: 0 / 0.5699 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8169, allocations: 39.92 kB / 0.5699 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.8172, allocations: 60.69 kB / 0.57 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8174, allocations: 27.98 kB / 0.57 GB, free: 15.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005696/0.818, allocations: 267 kB / 0.5703 GB, free: 15.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.818, allocations: 0 / 0.5703 GB, free: 15.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001772/0.8198, allocations: 239.8 kB / 0.5705 GB, free: 15.14 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003765/0.8202, allocations: 123 kB / 0.5706 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005234/0.8254, allocations: 1.319 MB / 0.5719 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.8255, allocations: 4 kB / 0.5719 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/0.8294, allocations: 0.914 MB / 0.5728 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.8303, allocations: 38.23 kB / 0.5728 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.833, allocations: 0.7146 MB / 0.5735 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.8338, allocations: 0.8889 MB / 0.5744 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.8344, allocations: 88.2 kB / 0.5745 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.8346, allocations: 47.42 kB / 0.5745 GB, free: 10.91 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8346, allocations: 0 / 0.5745 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Templates: time 0.04168/0.8763, allocations: 16.23 MB / 0.5904 GB, free: 10.73 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)