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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 116.4 kB / 17.1 MB, free: 5.961 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.001078/0.001078, allocations: 192.5 kB / 18.03 MB, free: 5.047 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.22 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.09 MB / 300 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.91 kB / 415.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07807/0.07923, allocations: 51.51 MB / 466.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003234/0.08249, allocations: 2.447 MB / 469.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.08445, allocations: 1.496 MB / 470.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.08458, allocations: 8 kB / 470.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.08501, allocations: 159 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.0854, allocations: 186.8 kB / 470.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.08703, allocations: 0.9491 MB / 471.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.08752, allocations: 434 kB / 472.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.08774, allocations: 152.1 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.08791, allocations: 175.3 kB / 472.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.08819, allocations: 231 kB / 472.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.08825, allocations: 36 kB / 472.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.08859, allocations: 195.8 kB / 473.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.08869, allocations: 91.62 kB / 473.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.08887, allocations: 203 kB / 473.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.08943, allocations: 0.5374 MB / 473.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08944, allocations: 0 / 473.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08945, allocations: 4 kB / 473.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.08947, allocations: 3.938 kB / 473.9 MB, free: 10.92 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00363/0.0931, allocations: 1.131 MB / 475 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.09315, allocations: 15.89 kB / 475 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.09325, allocations: 40.47 kB / 475.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.09366, allocations: 331.4 kB / 475.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.09369, allocations: 24.94 kB / 475.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.09376, allocations: 36.38 kB / 475.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.09438, allocations: 409.3 kB / 475.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.0944, allocations: 192 / 475.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.09445, allocations: 19.94 kB / 475.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.09447, allocations: 4 kB / 475.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.09504, allocations: 398 kB / 476.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.09698, allocations: 1.486 MB / 477.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.09804, allocations: 495.1 kB / 478.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.09839, allocations: 248.8 kB / 478.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.09846, allocations: 11.98 kB / 478.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.09849, allocations: 38.56 kB / 478.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.533e-06/0.0985, allocations: 0 / 478.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004475/0.103, allocations: 1.514 MB / 480.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.103, allocations: 59.41 kB / 480.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1033, allocations: 266.5 kB / 480.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.1034, allocations: 37.7 kB / 480.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.1035, allocations: 164.9 kB / 480.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1036, allocations: 145.8 kB / 480.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1038, allocations: 86.25 kB / 480.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1039, allocations: 350.7 kB / 481.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1042, allocations: 209.1 kB / 481.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.1046, allocations: 221 kB / 481.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.1053, allocations: 495.5 kB / 482 MB, free: 2.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1053, allocations: 3.938 kB / 482 MB, free: 2.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002176/0.1075, allocations: 0.8872 MB / 482.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1075, allocations: 4 kB / 482.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1075, allocations: 0 / 482.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.1094, allocations: 398.1 kB / 483.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1096, allocations: 59.91 kB / 483.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.1163, allocations: 5.931 MB / 489.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.1167, allocations: 35.62 kB / 489.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.1167, allocations: 19.98 kB / 489.4 MB, free: 10.63 MB / 366.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.0002381/0.117, allocations: 163.7 kB / 489.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.1171, allocations: 35.53 kB / 489.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.1194, allocations: 0.9078 MB / 490.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1194, allocations: 4 kB / 490.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1194, allocations: 4 kB / 490.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1194, allocations: 3.984 kB / 490.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.1199, allocations: 0.5169 MB / 491 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.12, allocations: 0 / 491 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1202, allocations: 67.84 kB / 491.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.1219, allocations: 382.1 kB / 491.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.1219, allocations: 12 kB / 491.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.1281, allocations: 5.87 MB / 497.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1281, allocations: 0 / 497.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.1303, allocations: 0.9391 MB / 498.3 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.1304, allocations: 120.5 kB / 498.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.1304, allocations: 7.984 kB / 498.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.1308, allocations: 23.98 kB / 498.4 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1309, allocations: 48.36 kB / 498.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.1309, allocations: 20 kB / 498.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1312, allocations: 182 kB / 498.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1312, allocations: 0 / 498.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005996/0.1318, allocations: 167.8 kB / 498.8 MB, free: 0.6328 MB / 366.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.0002076/0.132, allocations: 131.2 kB / 498.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.1339, allocations: 0.9976 MB / 499.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.1339, allocations: 0 / 499.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.1352, allocations: 0.7366 MB / 0.4889 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1356, allocations: 48.48 kB / 0.489 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1368, allocations: 0.7432 MB / 0.4897 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1371, allocations: 0.8013 MB / 0.4905 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.1372, allocations: 35.44 kB / 0.4905 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1373, allocations: 0 / 0.4905 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.01133/0.1486, allocations: 9.799 MB / 0.5001 GB, free: 3.203 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)