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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 117.4 kB / 17.13 MB, free: 5.965 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.001271/0.001271, allocations: 197.2 kB / 18.06 MB, free: 5.039 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04429/0.04429, allocations: 8.091 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.91 kB / 415.2 MB, free: 21.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08613, allocations: 51.51 MB / 466.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003209/0.08937, allocations: 2.093 MB / 468.8 MB, free: 184 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.09162, allocations: 1.52 MB / 470.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.0919, allocations: 7.938 kB / 470.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.09238, allocations: 135.2 kB / 470.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.09304, allocations: 178.9 kB / 470.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.09516, allocations: 1.07 MB / 471.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.09572, allocations: 314.5 kB / 472 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.09595, allocations: 128 kB / 472.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.09614, allocations: 127.5 kB / 472.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.09637, allocations: 159.3 kB / 472.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.09643, allocations: 24 kB / 472.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.09694, allocations: 247.8 kB / 472.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.09701, allocations: 59.81 kB / 472.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.09719, allocations: 159.2 kB / 472.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.09788, allocations: 482.6 kB / 473.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.0979, allocations: 4 kB / 473.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09791, allocations: 0 / 473.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.09792, allocations: 0 / 473.3 MB, free: 11.58 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.00424/0.1022, allocations: 1.135 MB / 474.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1022, allocations: 16.03 kB / 474.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.1023, allocations: 36.5 kB / 474.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1026, allocations: 283.7 kB / 474.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1027, allocations: 24.94 kB / 474.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1027, allocations: 24.38 kB / 474.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.1034, allocations: 377.1 kB / 475.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1034, allocations: 8.109 kB / 475.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1035, allocations: 11.94 kB / 475.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1035, allocations: 8 kB / 475.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.104, allocations: 314.1 kB / 475.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1061, allocations: 1.435 MB / 477 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.1071, allocations: 410.6 kB / 477.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1074, allocations: 177.3 kB / 477.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.1075, allocations: 8 kB / 477.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1075, allocations: 42.55 kB / 477.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.905e-06/0.1075, allocations: 0 / 477.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004304/0.1118, allocations: 1.251 MB / 478.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.1119, allocations: 106.8 kB / 479 MB, free: 5.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1122, allocations: 232 kB / 479.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1122, allocations: 29.7 kB / 479.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1124, allocations: 156.4 kB / 479.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.1124, allocations: 102.5 kB / 479.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1126, allocations: 86.11 kB / 479.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1128, allocations: 338.8 kB / 479.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.1131, allocations: 200.8 kB / 480.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1135, allocations: 252.2 kB / 480.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.1142, allocations: 465 kB / 480.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1142, allocations: 8.031 kB / 480.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00225/0.1165, allocations: 0.8407 MB / 481.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1165, allocations: 4 kB / 481.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1165, allocations: 0 / 481.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/0.1187, allocations: 457.1 kB / 482.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.119, allocations: 71.89 kB / 482.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.1247, allocations: 4.133 MB / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.125, allocations: 43.56 kB / 486.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.1251, allocations: 19.98 kB / 486.3 MB, free: 13.85 MB / 366.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.0002/0.1253, allocations: 145.7 kB / 486.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.1254, allocations: 23.72 kB / 486.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.1277, allocations: 0.7745 MB / 487.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1277, allocations: 8 kB / 487.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1277, allocations: 4 kB / 487.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1277, allocations: 3.984 kB / 487.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.1282, allocations: 440.9 kB / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1282, allocations: 0 / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1284, allocations: 47.92 kB / 487.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.1305, allocations: 441.2 kB / 488.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.1306, allocations: 7.984 kB / 488.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/0.136, allocations: 4.134 MB / 492.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.136, allocations: 0 / 492.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.1381, allocations: 0.8089 MB / 493.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.1382, allocations: 104.7 kB / 493.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.1383, allocations: 8 kB / 493.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1386, allocations: 15.98 kB / 493.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.1386, allocations: 27.95 kB / 493.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.1387, allocations: 16 kB / 493.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1388, allocations: 164.5 kB / 493.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1388, allocations: 0 / 493.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005521/0.1394, allocations: 127.8 kB / 493.6 MB, free: 6.184 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 (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.0002175/0.1396, allocations: 131.1 kB / 493.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.1416, allocations: 0.8049 MB / 494.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1416, allocations: 0 / 494.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.1429, allocations: 0.5675 MB / 495.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1433, allocations: 28.61 kB / 495.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1445, allocations: 0.6068 MB / 495.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1448, allocations: 0.761 MB / 496.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.1449, allocations: 39.42 kB / 496.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1449, allocations: 0 / 496.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of Templates: time 0.009606/0.1546, allocations: 6.792 MB / 0.4915 GB, free: 12.35 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)