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-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.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.001151/0.001151, allocations: 115.3 kB / 17.12 MB, free: 5.945 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.001099/0.0011, allocations: 189.3 kB / 18.06 MB, free: 5.027 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.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04756/0.04756, allocations: 8.101 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09571, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004587/0.1003, allocations: 3.34 MB / 470 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.1038, allocations: 1.855 MB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006158/0.1045, allocations: 11.94 kB / 471.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.1052, allocations: 206.7 kB / 472.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1065, allocations: 325.8 kB / 472.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.1092, allocations: 1.291 MB / 473.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1105, allocations: 0.6531 MB / 474.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.1109, allocations: 222.9 kB / 474.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.1114, allocations: 278.9 kB / 474.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.112, allocations: 354.5 kB / 475.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.1122, allocations: 52 kB / 475.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007494/0.113, allocations: 291.7 kB / 475.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1131, allocations: 123.5 kB / 475.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.1136, allocations: 322.3 kB / 476 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1149, allocations: 0.8216 MB / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1149, allocations: 0 / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1149, allocations: 0 / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.934e-05/0.1149, allocations: 4 kB / 476.8 MB, free: 8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.007761/0.1227, allocations: 1.872 MB / 478.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1228, allocations: 15.89 kB / 478.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.123, allocations: 68.19 kB / 478.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.1237, allocations: 422.1 kB / 479.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1238, allocations: 37.38 kB / 479.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1239, allocations: 56.31 kB / 479.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1252, allocations: 0.722 MB / 480 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1252, allocations: 192 / 480 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.1253, allocations: 19.94 kB / 480 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1253, allocations: 12 kB / 480 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.1263, allocations: 0.6599 MB / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.1305, allocations: 2.844 MB / 483.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.132, allocations: 1.086 MB / 484.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.1328, allocations: 494.7 kB / 485.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1329, allocations: 24.62 kB / 485.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1329, allocations: 43.22 kB / 485.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/0.1329, allocations: 0 / 485.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01218/0.1451, allocations: 3.21 MB / 488.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.1452, allocations: 115.4 kB / 488.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.1458, allocations: 389.3 kB / 488.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.1459, allocations: 41.7 kB / 488.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1461, allocations: 209.4 kB / 489.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.1464, allocations: 244.3 kB / 489.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.1467, allocations: 158.6 kB / 489.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1469, allocations: 358.8 kB / 489.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.1476, allocations: 465.8 kB / 490.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.1484, allocations: 0.5248 MB / 490.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.15, allocations: 1.017 MB / 491.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.15, allocations: 0 / 491.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005712/0.1557, allocations: 2.019 MB / 493.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.1558, allocations: 11.92 kB / 493.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1558, allocations: 8 kB / 493.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006053/0.1619, allocations: 1.523 MB / 495.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.1625, allocations: 127.8 kB / 495.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.1751, allocations: 6.289 MB / 0.49 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.1758, allocations: 71.41 kB / 0.4901 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.176, allocations: 28 kB / 0.4901 GB, free: 14.17 MB / 382.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.0003902/0.1764, allocations: 193.6 kB / 0.4903 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.1766, allocations: 55.34 kB / 0.4904 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/0.1824, allocations: 1.994 MB / 0.4923 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.1825, allocations: 8 kB / 0.4923 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1825, allocations: 0 / 0.4923 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.1825, allocations: 3.984 kB / 0.4923 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006705/0.1892, allocations: 2.835 MB / 0.4951 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.1893, allocations: 4 kB / 0.4951 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.1896, allocations: 95.83 kB / 0.4952 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00583/0.1955, allocations: 1.285 MB / 0.4964 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.1956, allocations: 20 kB / 0.4965 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.2081, allocations: 6.201 MB / 0.5025 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2082, allocations: 0 / 0.5025 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2162/0.4244, allocations: 1.933 MB / 0.5044 GB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4246, allocations: 143.8 kB / 0.5045 GB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4248, allocations: 14.16 kB / 0.5046 GB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.4254, allocations: 47.97 kB / 0.5046 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.4256, allocations: 63.72 kB / 0.5047 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.4257, allocations: 25.11 kB / 0.5047 GB, free: 44.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003521/0.4261, allocations: 260.5 kB / 0.5049 GB, free: 44.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4261, allocations: 0.5938 kB / 0.5049 GB, free: 44.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009757/0.4271, allocations: 287.1 kB / 0.5052 GB, free: 44.91 MB / 382.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.000248/0.4273, allocations: 137.7 kB / 0.5053 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4312, allocations: 1.685 MB / 0.507 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4312, allocations: 1.188 kB / 0.507 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002778/0.434, allocations: 1.115 MB / 0.5081 GB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.4346, allocations: 68.42 kB / 0.5081 GB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4364, allocations: 1.181 MB / 0.5093 GB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4367, allocations: 0.8842 MB / 0.5102 GB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4369, allocations: 59.53 kB / 0.5102 GB, free: 43.33 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4369, allocations: 0 / 0.5102 GB, free: 43.33 MB / 382.1 MB Notification: Performance of Templates: time 0.01687/0.4538, allocations: 12.14 MB / 0.5221 GB, free: 39.92 MB / 382.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)