Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.006729/0.006729, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001592/0.001592, allocations: 189 kB / 16.67 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.00218, allocations: 275 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.957/0.957, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003278/0.003279, allocations: 95.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1678, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.3301/0.498, allocations: 14.77 MB / 0.7803 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.5109, allocations: 10.35 MB / 0.7904 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5123, allocations: 58.84 kB / 0.7905 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.5161, allocations: 1.683 MB / 0.7921 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.5209, allocations: 1.851 MB / 0.7939 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.5228, allocations: 0.7575 MB / 0.7947 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.5264, allocations: 2.762 MB / 0.7974 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.5281, allocations: 1.414 MB / 0.7988 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.5302, allocations: 1.532 MB / 0.8003 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.5319, allocations: 1.163 MB / 0.8014 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.5322, allocations: 165.1 kB / 0.8015 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.5339, allocations: 0.7857 MB / 0.8023 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007047/0.5346, allocations: 0.607 MB / 0.8029 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.5359, allocations: 0.953 MB / 0.8038 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.5404, allocations: 2.767 MB / 0.8065 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5405, allocations: 1.219 kB / 0.8065 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5405, allocations: 7.938 kB / 0.8066 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.507e-05/0.5405, allocations: 0 / 0.8066 GB, free: 10.79 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004712/0.5452, allocations: 2.167 MB / 0.8087 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5453, allocations: 10.17 kB / 0.8087 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.5456, allocations: 193.8 kB / 0.8089 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.5575, allocations: 2.114 MB / 0.8109 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/0.561, allocations: 1.298 MB / 0.8122 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.5611, allocations: 85.16 kB / 0.8123 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.5615, allocations: 126.5 kB / 0.8124 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/0.5673, allocations: 2.67 MB / 0.815 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.5674, allocations: 11.22 kB / 0.815 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.5676, allocations: 55.09 kB / 0.8151 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005936/0.5682, allocations: 193.9 kB / 0.8153 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007352/0.5755, allocations: 2.791 MB / 0.818 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.5916, allocations: 10.46 MB / 0.8282 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00632/0.598, allocations: 2.335 MB / 0.8305 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.6011, allocations: 1.276 MB / 0.8317 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-05/0.6012, allocations: 12.7 kB / 0.8317 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6013, allocations: 48.28 kB / 0.8318 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.746e-06/0.6013, allocations: 0 / 0.8318 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.05609/0.6574, allocations: 16.49 MB / 0.8479 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.6575, allocations: 72.7 kB / 0.848 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6591, allocations: 1.172 MB / 0.8491 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.6592, allocations: 53.7 kB / 0.8492 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.6598, allocations: 0.7359 MB / 0.8499 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/0.6603, allocations: 0.5159 MB / 0.8504 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.6609, allocations: 287.5 kB / 0.8506 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.661, allocations: 305.1 kB / 0.8509 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/0.6642, allocations: 1.51 MB / 0.8524 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.6676, allocations: 1.78 MB / 0.8542 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/0.6746, allocations: 3.369 MB / 0.8574 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.6746, allocations: 8 kB / 0.8574 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01281/0.6874, allocations: 5.276 MB / 0.8626 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.6875, allocations: 8 kB / 0.8626 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.6875, allocations: 8 kB / 0.8626 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006903/0.6944, allocations: 1.88 MB / 0.8645 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.6963, allocations: 415.2 kB / 0.8648 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02836/0.7247, allocations: 24.14 MB / 0.8884 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.7274, allocations: 303.5 kB / 0.8887 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.7277, allocations: 71.91 kB / 0.8888 GB, free: 3.902 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009901/0.7287, allocations: 465.5 kB / 0.8892 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/0.7291, allocations: 173.9 kB / 0.8894 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.7418, allocations: 5.322 MB / 0.8946 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.7419, allocations: 16 kB / 0.8946 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.7419, allocations: 20 kB / 0.8946 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7419, allocations: 7.969 kB / 0.8946 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.7585, allocations: 7.419 MB / 0.9019 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.7585, allocations: 4.344 kB / 0.9019 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.7602, allocations: 359.3 kB / 0.9022 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006117/0.7663, allocations: 1.701 MB / 0.9039 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.7665, allocations: 43.95 kB / 0.9039 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.7939, allocations: 23.31 MB / 0.9267 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.7939, allocations: 4 kB / 0.9267 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.8063, allocations: 4.887 MB / 0.9315 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.8075, allocations: 0.4947 MB / 0.9319 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/0.808, allocations: 28 kB / 0.932 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/0.8102, allocations: 319.5 kB / 0.9323 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004966/0.8107, allocations: 152.9 kB / 0.9324 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.8109, allocations: 51.97 kB / 0.9325 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001215/0.8121, allocations: 0.7899 MB / 0.9332 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8121, allocations: 0 / 0.9332 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00227/0.8144, allocations: 0.6602 MB / 0.9339 GB, free: 4.281 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01209/0.8265, allocations: 5.471 MB / 0.9392 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01076/0.8372, allocations: 5.155 MB / 0.9443 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8373, allocations: 0 / 0.9443 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006876/0.8442, allocations: 3.351 MB / 0.9475 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/0.8474, allocations: 0.5593 MB / 0.9481 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04643/0.8938, allocations: 21.85 MB / 0.9694 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.8954, allocations: 1.572 MB / 0.971 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001564/0.897, allocations: 386.4 kB / 0.9713 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.898, allocations: 0.6593 MB / 0.972 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.898, allocations: 0 / 0.972 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/1.008, allocations: 58.79 MB / 1.029 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/20.97, allocations: 11.36 kB / 1.029 GB, free: 2.41 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)