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/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/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005378/0.005378, allocations: 89.23 kB / 15.91 MB, free: 6.309 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.001223/0.001223, allocations: 199.4 kB / 16.83 MB, free: 6.238 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1334/0.1334, allocations: 8.08 MB / 298.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 59.91 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09012, allocations: 51.53 MB / 412.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003765/0.09393, allocations: 3.345 MB / 415.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.09646, allocations: 1.859 MB / 417.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.09662, allocations: 8 kB / 417.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.09706, allocations: 171.2 kB / 417.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.09758, allocations: 286.4 kB / 418.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.09949, allocations: 1.242 MB / 419.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.1001, allocations: 0.6335 MB / 420.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.1004, allocations: 191.7 kB / 420.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1006, allocations: 262.9 kB / 420.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.1009, allocations: 334.6 kB / 420.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.101, allocations: 39.94 kB / 420.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.1014, allocations: 271.8 kB / 421.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.1015, allocations: 115.5 kB / 421.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1017, allocations: 302.4 kB / 421.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.1024, allocations: 0.8061 MB / 422.4 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1024, allocations: 0 / 422.4 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1024, allocations: 0 / 422.4 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1024, allocations: 3.938 kB / 422.4 MB, free: 304 kB / 350.1 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.006669/0.1091, allocations: 1.876 MB / 424.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1092, allocations: 8.031 kB / 424.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.1093, allocations: 72.19 kB / 424.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.1098, allocations: 422.1 kB / 424.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1099, allocations: 41.36 kB / 424.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.1099, allocations: 56.38 kB / 424.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.111, allocations: 0.7142 MB / 425.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.111, allocations: 4.172 kB / 425.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.111, allocations: 19.94 kB / 425.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1111, allocations: 12 kB / 425.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.112, allocations: 0.656 MB / 426.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.1153, allocations: 2.86 MB / 429.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1166, allocations: 1.094 MB / 430.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.1172, allocations: 486.7 kB / 430.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.1173, allocations: 20.62 kB / 430.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1173, allocations: 43.22 kB / 430.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.876e-06/0.1174, allocations: 0 / 430.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01084/0.1282, allocations: 3.21 MB / 433.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.1283, allocations: 115.3 kB / 434.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1287, allocations: 381.5 kB / 434.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.1289, allocations: 45.7 kB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.129, allocations: 213.3 kB / 434.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.1293, allocations: 252.3 kB / 434.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.1296, allocations: 158.6 kB / 435.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1298, allocations: 358.8 kB / 435.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.1304, allocations: 461.9 kB / 435.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007304/0.1312, allocations: 0.5248 MB / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.1326, allocations: 1.021 MB / 437.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1326, allocations: 0 / 437.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.1699/0.3025, allocations: 2.017 MB / 439.5 MB, free: 56.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3026, allocations: 3.75 kB / 439.5 MB, free: 56.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3026, allocations: 0 / 439.5 MB, free: 56.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/0.3078, allocations: 1.53 MB / 441 MB, free: 56.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.3083, allocations: 126.2 kB / 441.1 MB, free: 56.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009265/0.3176, allocations: 5.748 MB / 446.9 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.3183, allocations: 82.53 kB / 446.9 MB, free: 53.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.3184, allocations: 31.91 kB / 447 MB, free: 53.77 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.3186, allocations: 183 kB / 447.1 MB, free: 53.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3187, allocations: 53.16 kB / 447.2 MB, free: 53.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.3235, allocations: 1.995 MB / 449.2 MB, free: 52.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3235, allocations: 8.938 kB / 449.2 MB, free: 52.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3236, allocations: 3.938 kB / 449.2 MB, free: 52.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3236, allocations: 6.422 kB / 449.2 MB, free: 52.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/0.3289, allocations: 2.834 MB / 452 MB, free: 51.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3289, allocations: 0 / 452 MB, free: 51.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.3292, allocations: 99.67 kB / 452.1 MB, free: 51.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004817/0.334, allocations: 1.288 MB / 453.4 MB, free: 51.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.3341, allocations: 18.72 kB / 453.5 MB, free: 51.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008587/0.3427, allocations: 5.668 MB / 459.1 MB, free: 47.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3428, allocations: 0 / 459.1 MB, free: 47.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.3471, allocations: 1.944 MB / 461.1 MB, free: 47.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3473, allocations: 136.1 kB / 461.2 MB, free: 46.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.3474, allocations: 18.19 kB / 461.2 MB, free: 46.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.3478, allocations: 53.08 kB / 461.3 MB, free: 46.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.348, allocations: 61.59 kB / 461.3 MB, free: 46.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.3481, allocations: 24.16 kB / 461.4 MB, free: 46.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3483, allocations: 262.9 kB / 461.6 MB, free: 46.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3483, allocations: 0 / 461.6 MB, free: 46.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007108/0.349, allocations: 279.1 kB / 461.9 MB, free: 46.67 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.3493, allocations: 135.5 kB / 462 MB, free: 46.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.3525, allocations: 1.647 MB / 463.7 MB, free: 45.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3525, allocations: 3.031 kB / 463.7 MB, free: 45.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.3548, allocations: 1.083 MB / 464.7 MB, free: 45.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3553, allocations: 73.56 kB / 464.8 MB, free: 45.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3568, allocations: 1.392 MB / 466.2 MB, free: 44.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3571, allocations: 0.8835 MB / 467.1 MB, free: 43.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.3573, allocations: 73.39 kB / 467.2 MB, free: 43.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3574, allocations: 52.36 kB / 467.2 MB, free: 43.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3574, allocations: 0 / 467.2 MB, free: 43.75 MB / 366.1 MB Notification: Performance of Templates: time 0.02195/0.3794, allocations: 17.57 MB / 484.8 MB, free: 41.69 MB / 366.1 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)