Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.001469/0.001469, allocations: 105.2 kB / 16.45 MB, free: 6.398 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.001613/0.001613, allocations: 182.9 kB / 17.38 MB, free: 5.676 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05062/0.05062, allocations: 8.103 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001114, allocations: 72.08 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09464, allocations: 51.52 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004535/0.09922, allocations: 3.716 MB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1019, allocations: 1.822 MB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.1023, allocations: 16 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.1028, allocations: 214.6 kB / 471.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.1036, allocations: 333.8 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.1058, allocations: 1.291 MB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007148/0.1065, allocations: 0.7115 MB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1068, allocations: 253.5 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1071, allocations: 294.9 kB / 474.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.1075, allocations: 370.5 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.1076, allocations: 63.94 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.108, allocations: 295.7 kB / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1081, allocations: 143.4 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.1084, allocations: 346.2 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.1093, allocations: 0.8731 MB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1093, allocations: 4 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1093, allocations: 0 / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1093, allocations: 0 / 476.2 MB, free: 7.922 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006471/0.1158, allocations: 1.911 MB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1158, allocations: 11.89 kB / 478.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.1159, allocations: 94.7 kB / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1161, allocations: 72.09 kB / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.1167, allocations: 449.9 kB / 478.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.1167, allocations: 41.38 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.1168, allocations: 60.38 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1179, allocations: 0.7572 MB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.118, allocations: 7.938 kB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.118, allocations: 20 kB / 479.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1181, allocations: 12 kB / 479.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.119, allocations: 0.6872 MB / 480.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.1228, allocations: 2.95 MB / 483.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.1242, allocations: 1.298 MB / 484.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.1248, allocations: 470.7 kB / 485 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.5e-05/0.1249, allocations: 20.55 kB / 485 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1249, allocations: 51.16 kB / 485.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.125, allocations: 0 / 485.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01313/0.1381, allocations: 3.456 MB / 488.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.1382, allocations: 111.5 kB / 488.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.1386, allocations: 381.5 kB / 489 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.1387, allocations: 41.7 kB / 489.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1389, allocations: 229.1 kB / 489.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.1391, allocations: 244.3 kB / 489.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1393, allocations: 154.6 kB / 489.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1395, allocations: 370.7 kB / 490 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/0.1401, allocations: 453.8 kB / 490.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.1409, allocations: 0.5053 MB / 491 MB, free: 8.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.1422, allocations: 0.9822 MB / 492 MB, free: 7.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1423, allocations: 0 / 492 MB, free: 7.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005169/0.1474, allocations: 1.976 MB / 493.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1475, allocations: 4 kB / 494 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1475, allocations: 0 / 494 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005532/0.153, allocations: 1.527 MB / 495.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.1535, allocations: 119.9 kB / 495.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.1645, allocations: 5.981 MB / 0.4898 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.1652, allocations: 75.36 kB / 0.4899 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.1652, allocations: 27.98 kB / 0.4899 GB, free: 13.67 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.0003208/0.1656, allocations: 189.7 kB / 0.4901 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1657, allocations: 59.28 kB / 0.4902 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.1707, allocations: 1.912 MB / 0.492 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1707, allocations: 8 kB / 0.492 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1707, allocations: 0 / 0.492 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1707, allocations: 7.922 kB / 0.492 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.1766, allocations: 2.756 MB / 0.4947 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1766, allocations: 4 kB / 0.4947 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1769, allocations: 95.83 kB / 0.4948 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00503/0.182, allocations: 1.289 MB / 0.4961 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.182, allocations: 20 kB / 0.4961 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.1922, allocations: 5.877 MB / 0.5018 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1923, allocations: 4 kB / 0.5018 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2112/0.4034, allocations: 1.891 MB / 0.5037 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.4037, allocations: 138 kB / 0.5038 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4038, allocations: 19.66 kB / 0.5038 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.4044, allocations: 39.53 kB / 0.5039 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.4046, allocations: 69.5 kB / 0.5039 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.4047, allocations: 28.69 kB / 0.504 GB, free: 44.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.4051, allocations: 260.6 kB / 0.5042 GB, free: 44.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4051, allocations: 0.9375 kB / 0.5042 GB, free: 44.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009494/0.406, allocations: 299.6 kB / 0.5045 GB, free: 44.89 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 (55): * Single equations (assignments): 54 * 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.005531/0.4116, allocations: 2.471 MB / 0.5069 GB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.4155, allocations: 1.642 MB / 0.5085 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.4155, allocations: 9.297 kB / 0.5085 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.4182, allocations: 1.08 MB / 0.5096 GB, free: 43.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.4187, allocations: 71.44 kB / 0.5097 GB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.4341, allocations: 7.643 MB / 0.5171 GB, free: 39.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.4346, allocations: 0.8904 MB / 0.518 GB, free: 39.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.4349, allocations: 84.8 kB / 0.5181 GB, free: 39.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.4352, allocations: 212.8 kB / 0.5183 GB, free: 39.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4352, allocations: 0 / 0.5183 GB, free: 39.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04382/0.4791, allocations: 24.13 MB / 0.5418 GB, free: 21.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.03, allocations: 13.95 kB / 0.5419 GB, free: 21.5 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)