Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0008251/0.000825, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009689/0.0009689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005136, allocations: 18.81 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03356/0.2935, allocations: 31.93 MB / 0.8186 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.3101, allocations: 9.55 MB / 0.8279 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.314, allocations: 127.2 kB / 0.828 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.3168, allocations: 0.6782 MB / 0.8287 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.3232, allocations: 1.636 MB / 0.8303 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.328, allocations: 1.162 MB / 0.8314 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3399, allocations: 8.849 MB / 0.8401 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02107/0.361, allocations: 10.39 MB / 0.8502 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.3673, allocations: 2.436 MB / 0.8526 GB, free: 8.879 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006556/0.3739, allocations: 3.122 MB / 0.8556 GB, free: 5.746 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.3758, allocations: 288 kB / 0.8559 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.379, allocations: 0.6439 MB / 0.8565 GB, free: 4.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003759/0.3828, allocations: 2.085 MB / 0.8586 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002856/0.3856, allocations: 1.034 MB / 0.8596 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.396, allocations: 8.56 MB / 0.868 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.396, allocations: 0 / 0.868 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.595e-06/0.396, allocations: 0 / 0.868 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003379/0.3964, allocations: 0 / 0.868 GB, free: 9.105 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01097/0.4074, allocations: 4.41 MB / 0.8723 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.4074, allocations: 8.031 kB / 0.8723 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002551/0.41, allocations: 0.6982 MB / 0.8729 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/0.4156, allocations: 0.9694 MB / 0.8739 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00688/0.4226, allocations: 2.925 MB / 0.8768 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/0.423, allocations: 361.6 kB / 0.8771 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/0.4248, allocations: 463.9 kB / 0.8775 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.4426, allocations: 7.875 MB / 0.8852 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.4427, allocations: 19.78 kB / 0.8852 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.4432, allocations: 211.9 kB / 0.8855 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000492/0.4437, allocations: 373 kB / 0.8858 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.4556, allocations: 5.902 MB / 0.8916 GB, free: 400 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6341/1.09, allocations: 36.24 MB / 0.927 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/1.094, allocations: 2.132 MB / 0.929 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/1.096, allocations: 1.477 MB / 0.9305 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.096, allocations: 17.45 kB / 0.9305 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.096, allocations: 59.47 kB / 0.9306 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.887e-06/1.096, allocations: 3.469 kB / 0.9306 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01505/1.111, allocations: 7.536 MB / 0.9379 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.112, allocations: 70.5 kB / 0.938 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/1.115, allocations: 1.845 MB / 0.9398 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.115, allocations: 54.11 kB / 0.9398 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.117, allocations: 2.123 MB / 0.9419 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/1.117, allocations: 0.5533 MB / 0.9425 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.117, allocations: 48.22 kB / 0.9425 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.117, allocations: 392.5 kB / 0.9429 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/1.12, allocations: 1.057 MB / 0.9439 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/1.123, allocations: 1.753 MB / 0.9456 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/1.126, allocations: 1.344 MB / 0.9469 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/1.126, allocations: 10.83 kB / 0.9469 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008188/1.134, allocations: 3.9 MB / 0.9508 GB, free: 99.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/1.134, allocations: 18.03 kB / 0.9508 GB, free: 99.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/1.134, allocations: 23 kB / 0.9508 GB, free: 99.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.137, allocations: 0.9337 MB / 0.9517 GB, free: 98.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.139, allocations: 429.1 kB / 0.9521 GB, free: 98.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/1.156, allocations: 21.05 MB / 0.9727 GB, free: 80.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.159, allocations: 121.8 kB / 0.9728 GB, free: 80.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.159, allocations: 104 kB / 0.9729 GB, free: 80.76 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003589/1.163, allocations: 1.65 MB / 0.9745 GB, free: 80.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/1.163, allocations: 255.4 kB / 0.9747 GB, free: 79.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/1.168, allocations: 3.25 MB / 0.9779 GB, free: 78.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.168, allocations: 19.8 kB / 0.9779 GB, free: 78.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.168, allocations: 11.81 kB / 0.9779 GB, free: 78.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.168, allocations: 7.969 kB / 0.9779 GB, free: 78.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/1.181, allocations: 7.529 MB / 0.9853 GB, free: 73.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.181, allocations: 4.656 kB / 0.9853 GB, free: 73.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/1.182, allocations: 215.5 kB / 0.9855 GB, free: 73.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/1.184, allocations: 0.8954 MB / 0.9864 GB, free: 73.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.184, allocations: 31.19 kB / 0.9864 GB, free: 73.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/1.199, allocations: 21.01 MB / 1.007 GB, free: 53.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.199, allocations: 7.641 kB / 1.007 GB, free: 53.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/1.205, allocations: 3.366 MB / 1.01 GB, free: 51.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.206, allocations: 0.5331 MB / 1.011 GB, free: 50.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/1.207, allocations: 35.98 kB / 1.011 GB, free: 50.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009924/1.208, allocations: 95.89 kB / 1.011 GB, free: 50.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/1.208, allocations: 145.3 kB / 1.011 GB, free: 50.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.208, allocations: 40 kB / 1.011 GB, free: 50.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001684/1.21, allocations: 1.212 MB / 1.012 GB, free: 49.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.21, allocations: 0 / 1.012 GB, free: 49.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003604/1.214, allocations: 0.9101 MB / 1.013 GB, free: 48.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004538/1.218, allocations: 3.974 MB / 1.017 GB, free: 44.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005712/1.224, allocations: 4.395 MB / 1.021 GB, free: 39.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.224, allocations: 4.125 kB / 1.021 GB, free: 39.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003368/1.227, allocations: 3.004 MB / 1.024 GB, free: 36.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.231, allocations: 0.768 MB / 1.025 GB, free: 35.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/1.267, allocations: 21.52 MB / 1.046 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.271, allocations: 3.215 MB / 1.049 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002067/1.273, allocations: 0.5215 MB / 1.05 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.275, allocations: 1.663 MB / 1.051 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/1.275, allocations: 4 kB / 1.051 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/1.389, allocations: 68.69 MB / 1.118 GB, free: 3.547 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.389, allocations: 239.2 kB / 1.119 GB, free: 3.301 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/5.123, allocations: 0 / 1.119 GB, free: 3.301 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: