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.00149/0.00149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001693/0.001693, allocations: 197.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.716/1.716, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001356/0.001357, allocations: 73.48 kB / 0.6711 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1896, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03556/0.2252, allocations: 34.7 MB / 0.8169 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.2412, allocations: 9.91 MB / 0.8265 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.244, allocations: 135.2 kB / 0.8267 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008555/0.2526, allocations: 3.562 MB / 0.8302 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.2579, allocations: 1.878 MB / 0.832 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.2628, allocations: 1.788 MB / 0.8337 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.273, allocations: 8.002 MB / 0.8415 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01511/0.2881, allocations: 11.69 MB / 0.853 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.293, allocations: 3.427 MB / 0.8563 GB, free: 2.426 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.298, allocations: 3.918 MB / 0.8601 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.2992, allocations: 0.6758 MB / 0.8608 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.3017, allocations: 1.447 MB / 0.8622 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.3044, allocations: 2.62 MB / 0.8648 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003962/0.3084, allocations: 3.093 MB / 0.8678 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009638/0.318, allocations: 10.38 MB / 0.8779 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3181, allocations: 0 / 0.8779 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3181, allocations: 0 / 0.8779 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002402/0.3183, allocations: 0 / 0.8779 GB, free: 12.23 MB / 0.7012 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.01056/0.3289, allocations: 5.412 MB / 0.8832 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3289, allocations: 8.031 kB / 0.8832 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009815/0.3299, allocations: 0.7022 MB / 0.8839 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3345, allocations: 0.9626 MB / 0.8848 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/0.3398, allocations: 2.995 MB / 0.8878 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.34, allocations: 357.9 kB / 0.8881 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008184/0.3408, allocations: 472.2 kB / 0.8886 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3556, allocations: 7.914 MB / 0.8963 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.3557, allocations: 15.88 kB / 0.8963 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005325/0.3563, allocations: 208 kB / 0.8965 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005075/0.3568, allocations: 369.1 kB / 0.8969 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3674, allocations: 5.933 MB / 0.9027 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3843/0.7517, allocations: 36.2 MB / 0.938 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.7551, allocations: 2.141 MB / 0.9401 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.7569, allocations: 1.474 MB / 0.9415 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/0.757, allocations: 25.03 kB / 0.9416 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.757, allocations: 56.12 kB / 0.9416 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.947e-06/0.7571, allocations: 0 / 0.9416 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01336/0.7704, allocations: 7.534 MB / 0.949 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.7705, allocations: 69.94 kB / 0.949 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.7747, allocations: 1.863 MB / 0.9509 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.7751, allocations: 52.67 kB / 0.9509 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.7767, allocations: 2.126 MB / 0.953 GB, free: 99.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/0.7773, allocations: 0.5561 MB / 0.9535 GB, free: 99.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006924/0.778, allocations: 402.6 kB / 0.9539 GB, free: 99.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.7781, allocations: 307.6 kB / 0.9542 GB, free: 98.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.7799, allocations: 1.06 MB / 0.9552 GB, free: 98.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.7817, allocations: 1.768 MB / 0.957 GB, free: 97.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.7851, allocations: 3.048 MB / 0.9599 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.7851, allocations: 5.781 kB / 0.9599 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006438/0.7916, allocations: 3.919 MB / 0.9638 GB, free: 93.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.7917, allocations: 14.88 kB / 0.9638 GB, free: 93.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/0.7917, allocations: 24.09 kB / 0.9638 GB, free: 93.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.794, allocations: 0.937 MB / 0.9647 GB, free: 93.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.7955, allocations: 429.3 kB / 0.9651 GB, free: 93.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/0.8113, allocations: 22.78 MB / 0.9874 GB, free: 72.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.8136, allocations: 122.9 kB / 0.9875 GB, free: 72.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.814, allocations: 98.52 kB / 0.9876 GB, free: 72.42 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003125/0.8171, allocations: 1.646 MB / 0.9892 GB, free: 71.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/0.8178, allocations: 262.9 kB / 0.9895 GB, free: 71.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/0.8227, allocations: 3.262 MB / 0.9926 GB, free: 69.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.8227, allocations: 14.16 kB / 0.9927 GB, free: 69.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.8227, allocations: 9.656 kB / 0.9927 GB, free: 69.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.8228, allocations: 13.31 kB / 0.9927 GB, free: 69.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.8334, allocations: 7.553 MB / 1 GB, free: 64.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.8334, allocations: 3.812 kB / 1 GB, free: 64.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.8343, allocations: 217.8 kB / 1 GB, free: 64.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/0.8364, allocations: 0.9034 MB / 1.001 GB, free: 64.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.8365, allocations: 29.38 kB / 1.001 GB, free: 64.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/0.8509, allocations: 22.72 MB / 1.023 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.8509, allocations: 19.92 kB / 1.023 GB, free: 40.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.8555, allocations: 3.382 MB / 1.027 GB, free: 36.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.8566, allocations: 0.5292 MB / 1.027 GB, free: 36.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.8569, allocations: 32 kB / 1.027 GB, free: 36.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.8578, allocations: 91.88 kB / 1.027 GB, free: 36.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.8582, allocations: 145.1 kB / 1.027 GB, free: 36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.8583, allocations: 44 kB / 1.027 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001349/0.8597, allocations: 1.221 MB / 1.029 GB, free: 34.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8597, allocations: 4 kB / 1.029 GB, free: 34.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002947/0.8626, allocations: 0.9102 MB / 1.03 GB, free: 33.8 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004404/0.867, allocations: 3.987 MB / 1.033 GB, free: 29.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006901/0.874, allocations: 5.199 MB / 1.039 GB, free: 24.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.874, allocations: 0 / 1.039 GB, free: 24.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.8777, allocations: 2.991 MB / 1.041 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.8813, allocations: 0.8155 MB / 1.042 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/0.9235, allocations: 29.51 MB / 1.071 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/0.9273, allocations: 3.207 MB / 1.074 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002029/0.9293, allocations: 0.5254 MB / 1.075 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/0.9314, allocations: 1.659 MB / 1.076 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of SimCode: time 4.11e-07/0.9314, allocations: 0 / 1.076 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.184/1.115, allocations: 70.97 MB / 1.146 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.116, allocations: 243.4 kB / 1.146 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.775/4.891, allocations: 5.875 kB / 1.146 GB, free: 8.895 MB / 0.8262 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/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)