Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.005725/0.005725, allocations: 100.7 kB / 15.73 MB, free: 5.586 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.001088/0.001088, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002285/0.002285, allocations: 298.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 91.86 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4018, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0165/0.4184, allocations: 14.04 MB / 0.7796 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.4326, allocations: 9.396 MB / 0.7888 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.4341, allocations: 55.62 kB / 0.7888 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.4388, allocations: 1.676 MB / 0.7905 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.4433, allocations: 1.567 MB / 0.792 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.4459, allocations: 0.7666 MB / 0.7928 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004539/0.4504, allocations: 2.524 MB / 0.7952 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.4531, allocations: 1.411 MB / 0.7966 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.4548, allocations: 1.078 MB / 0.7977 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.4567, allocations: 1.136 MB / 0.7988 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.4571, allocations: 164 kB / 0.7989 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4587, allocations: 0.7916 MB / 0.7997 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.4594, allocations: 0.6076 MB / 0.8003 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.4608, allocations: 0.9445 MB / 0.8012 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.4642, allocations: 2.769 MB / 0.8039 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4642, allocations: 0 / 0.8039 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4642, allocations: 0 / 0.8039 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.699e-05/0.4643, allocations: 0 / 0.8039 GB, free: 12.81 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.005307/0.4697, allocations: 2.131 MB / 0.806 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4697, allocations: 8.031 kB / 0.806 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003593/0.4701, allocations: 198.4 kB / 0.8062 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.4806, allocations: 2.081 MB / 0.8082 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.4833, allocations: 1.298 MB / 0.8095 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.4834, allocations: 90.73 kB / 0.8096 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.4837, allocations: 119.9 kB / 0.8097 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005505/0.4892, allocations: 2.679 MB / 0.8123 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.4893, allocations: 7.984 kB / 0.8123 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.4895, allocations: 51.98 kB / 0.8124 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000564/0.49, allocations: 182.1 kB / 0.8125 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006934/0.497, allocations: 2.799 MB / 0.8153 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.5114, allocations: 10.46 MB / 0.8255 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006265/0.5177, allocations: 2.518 MB / 0.8279 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/0.5207, allocations: 1.288 MB / 0.8292 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.5208, allocations: 9 kB / 0.8292 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.5209, allocations: 47.5 kB / 0.8293 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.647e-06/0.5209, allocations: 0 / 0.8293 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04349/0.5644, allocations: 13.36 MB / 0.8423 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5644, allocations: 64.72 kB / 0.8424 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.5659, allocations: 1.117 MB / 0.8435 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.5661, allocations: 53.7 kB / 0.8435 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.5666, allocations: 0.7193 MB / 0.8442 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.5671, allocations: 445.5 kB / 0.8446 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/0.5676, allocations: 267.4 kB / 0.8449 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5678, allocations: 361.8 kB / 0.8452 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/0.5709, allocations: 1.339 MB / 0.8465 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.5742, allocations: 1.608 MB / 0.8481 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.5808, allocations: 2.991 MB / 0.851 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5808, allocations: 4 kB / 0.851 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01104/0.5918, allocations: 4.434 MB / 0.8554 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5919, allocations: 12.86 kB / 0.8554 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5919, allocations: 8 kB / 0.8554 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/0.5973, allocations: 1.431 MB / 0.8568 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.5993, allocations: 435.2 kB / 0.8572 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/0.6271, allocations: 26.69 MB / 0.8833 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.6295, allocations: 311.5 kB / 0.8836 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.6298, allocations: 59.97 kB / 0.8836 GB, free: 7.84 MB / 0.6544 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008666/0.6307, allocations: 433.5 kB / 0.884 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.6311, allocations: 162.1 kB / 0.8842 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.6421, allocations: 4.457 MB / 0.8885 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.6422, allocations: 12 kB / 0.8886 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.6422, allocations: 12 kB / 0.8886 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.6423, allocations: 7.969 kB / 0.8886 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6568, allocations: 6.764 MB / 0.8952 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.6569, allocations: 4 kB / 0.8952 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.6586, allocations: 383.6 kB / 0.8955 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004804/0.6634, allocations: 1.306 MB / 0.8968 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.6636, allocations: 35.97 kB / 0.8969 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/0.6881, allocations: 25.49 MB / 0.9217 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6881, allocations: 7.938 kB / 0.9218 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.6988, allocations: 4.206 MB / 0.9259 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/0.6998, allocations: 455 kB / 0.9263 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.7001, allocations: 24 kB / 0.9263 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.7022, allocations: 311.4 kB / 0.9266 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/0.7026, allocations: 128.7 kB / 0.9267 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.7028, allocations: 43.97 kB / 0.9268 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001147/0.7039, allocations: 0.7565 MB / 0.9275 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7039, allocations: 0 / 0.9275 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002439/0.7064, allocations: 0.5703 MB / 0.9281 GB, free: 8.09 MB / 0.7012 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 (67): * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01062/0.717, allocations: 4.789 MB / 0.9328 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.7277, allocations: 5.138 MB / 0.9378 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.7278, allocations: 4 kB / 0.9378 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006833/0.7346, allocations: 3.495 MB / 0.9412 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.7373, allocations: 0.5589 MB / 0.9417 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04143/0.7788, allocations: 19.36 MB / 0.9606 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.7802, allocations: 1.485 MB / 0.9621 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001496/0.7817, allocations: 425.6 kB / 0.9625 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/0.7826, allocations: 0.632 MB / 0.9631 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.7826, allocations: 0 / 0.9631 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4198/1.202, allocations: 51.7 MB / 1.014 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/19.42, allocations: 10.97 kB / 1.014 GB, free: 158.4 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)