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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 105.5 kB / 16.45 MB, free: 6.375 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.00165/0.00165, allocations: 192.6 kB / 17.38 MB, free: 5.641 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04667/0.04667, allocations: 8.107 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09998, allocations: 51.53 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004188/0.1042, allocations: 3.34 MB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1069, allocations: 1.857 MB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1071, allocations: 11.94 kB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.1075, allocations: 202.7 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.1082, allocations: 329.9 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1104, allocations: 1.291 MB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000686/0.111, allocations: 0.6531 MB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.1114, allocations: 226.9 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1116, allocations: 275 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.112, allocations: 354.5 kB / 474 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.112, allocations: 52 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.1125, allocations: 283.8 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1126, allocations: 131.5 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.1129, allocations: 314.4 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008053/0.1137, allocations: 0.8303 MB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1137, allocations: 0 / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1137, allocations: 0 / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1137, allocations: 0 / 475.6 MB, free: 8.516 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.00669/0.1204, allocations: 1.868 MB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1205, allocations: 11.89 kB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.1206, allocations: 82.72 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1207, allocations: 68.19 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.1213, allocations: 438 kB / 478.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.1213, allocations: 41.31 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.1214, allocations: 52.38 kB / 478.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1225, allocations: 0.7104 MB / 478.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1225, allocations: 7.938 kB / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.1226, allocations: 23.98 kB / 478.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1226, allocations: 8 kB / 478.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.1235, allocations: 0.6598 MB / 479.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1272, allocations: 2.848 MB / 482.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.1286, allocations: 1.093 MB / 483.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.1293, allocations: 486.7 kB / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/0.1294, allocations: 20.58 kB / 484 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.1294, allocations: 43.2 kB / 484 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.978e-06/0.1294, allocations: 0 / 484 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01119/0.1406, allocations: 3.214 MB / 487.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.1407, allocations: 111.5 kB / 487.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.1413, allocations: 385.4 kB / 487.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.1414, allocations: 49.7 kB / 487.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1415, allocations: 205.4 kB / 488 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.1418, allocations: 248.3 kB / 488.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.142, allocations: 150.6 kB / 488.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1422, allocations: 362.8 kB / 488.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/0.1428, allocations: 465.8 kB / 489.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.1436, allocations: 0.5286 MB / 489.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.145, allocations: 1.025 MB / 490.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.145, allocations: 0 / 490.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005079/0.1501, allocations: 2.019 MB / 492.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1501, allocations: 8 kB / 492.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1502, allocations: 0 / 492.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005466/0.1556, allocations: 1.527 MB / 494.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.1562, allocations: 123.8 kB / 494.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.1672, allocations: 6.285 MB / 0.489 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.168, allocations: 79.41 kB / 0.489 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.1681, allocations: 23.98 kB / 0.4891 GB, free: 14.59 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.0003023/0.1684, allocations: 193.7 kB / 0.4893 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.1685, allocations: 55.34 kB / 0.4893 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/0.1737, allocations: 1.983 MB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1737, allocations: 8 kB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1737, allocations: 8 kB / 0.4913 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1738, allocations: 7.969 kB / 0.4913 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.1798, allocations: 2.827 MB / 0.494 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1798, allocations: 0 / 0.494 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.1801, allocations: 91.89 kB / 0.4941 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/0.1853, allocations: 1.297 MB / 0.4954 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.1854, allocations: 16 kB / 0.4954 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.1966, allocations: 6.19 MB / 0.5014 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1967, allocations: 0 / 0.5014 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2092/0.4059, allocations: 1.942 MB / 0.5033 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.4062, allocations: 140.2 kB / 0.5035 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.4064, allocations: 16.78 kB / 0.5035 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.407, allocations: 43.53 kB / 0.5035 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.4073, allocations: 62.62 kB / 0.5036 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.4074, allocations: 25.45 kB / 0.5036 GB, free: 44.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.4078, allocations: 268.5 kB / 0.5039 GB, free: 44.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4078, allocations: 0.5938 kB / 0.5039 GB, free: 44.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00116/0.409, allocations: 288.3 kB / 0.5041 GB, free: 44.71 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.005616/0.4146, allocations: 2.525 MB / 0.5066 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.4186, allocations: 1.683 MB / 0.5083 GB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4187, allocations: 0 / 0.5083 GB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.4214, allocations: 1.114 MB / 0.5093 GB, free: 43.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.422, allocations: 72.41 kB / 0.5094 GB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.4365, allocations: 7.737 MB / 0.517 GB, free: 39.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.437, allocations: 0.8801 MB / 0.5178 GB, free: 39.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.4373, allocations: 81.19 kB / 0.5179 GB, free: 39.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.4375, allocations: 199.9 kB / 0.5181 GB, free: 38.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4375, allocations: 0 / 0.5181 GB, free: 38.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.4765, allocations: 24.68 MB / 0.5422 GB, free: 21.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 12.05 kB / 0.5422 GB, free: 21.19 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)