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.001491/0.001491, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 196.3 kB / 16.64 MB, free: 6.449 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.677/1.677, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00138/0.001381, allocations: 71.03 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2151, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03613/0.2512, allocations: 35 MB / 0.8178 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.2674, allocations: 10.03 MB / 0.8276 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.2711, allocations: 147.4 kB / 0.8278 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009334/0.2805, allocations: 3.791 MB / 0.8315 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.2863, allocations: 2.036 MB / 0.8335 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.2918, allocations: 1.955 MB / 0.8354 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.3051, allocations: 7.978 MB / 0.8432 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.3195, allocations: 9.521 MB / 0.8524 GB, free: 6.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00615/0.3257, allocations: 3.373 MB / 0.8557 GB, free: 3.117 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006907/0.3327, allocations: 3.738 MB / 0.8594 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.3349, allocations: 0.6797 MB / 0.8601 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.3389, allocations: 1.44 MB / 0.8615 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003501/0.3424, allocations: 2.624 MB / 0.864 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005223/0.3476, allocations: 3.101 MB / 0.8671 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3588, allocations: 10.38 MB / 0.8772 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3589, allocations: 0 / 0.8772 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3589, allocations: 0 / 0.8772 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003531/0.3592, allocations: 0 / 0.8772 GB, free: 13.09 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.01332/0.3726, allocations: 5.412 MB / 0.8825 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3726, allocations: 8.031 kB / 0.8825 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001348/0.374, allocations: 0.71 MB / 0.8832 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.3788, allocations: 0.9549 MB / 0.8841 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006522/0.3853, allocations: 3.174 MB / 0.8872 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.3857, allocations: 357.9 kB / 0.8876 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.3873, allocations: 476.2 kB / 0.888 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.4036, allocations: 7.914 MB / 0.8957 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.4038, allocations: 19.88 kB / 0.8958 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008027/0.4046, allocations: 204 kB / 0.8959 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005173/0.4051, allocations: 369.1 kB / 0.8963 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4161, allocations: 5.941 MB / 0.9021 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4181/0.8342, allocations: 35.93 MB / 0.9372 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.8379, allocations: 2.15 MB / 0.9393 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.8399, allocations: 1.483 MB / 0.9407 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.84, allocations: 14.44 kB / 0.9407 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.8401, allocations: 52.75 kB / 0.9408 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.827e-06/0.8401, allocations: 2.031 kB / 0.9408 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01472/0.8548, allocations: 7.534 MB / 0.9482 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.8549, allocations: 70.67 kB / 0.9482 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.8595, allocations: 1.865 MB / 0.95 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.8598, allocations: 53.39 kB / 0.9501 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.8614, allocations: 2.131 MB / 0.9522 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.8619, allocations: 0.5524 MB / 0.9527 GB, free: 99.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/0.8627, allocations: 406.5 kB / 0.9531 GB, free: 99.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.8627, allocations: 305.1 kB / 0.9534 GB, free: 99.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.8644, allocations: 1.06 MB / 0.9544 GB, free: 98.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.8663, allocations: 1.768 MB / 0.9562 GB, free: 97.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.8697, allocations: 3.052 MB / 0.9591 GB, free: 95.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-05/0.8697, allocations: 6.188 kB / 0.9591 GB, free: 95.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006198/0.876, allocations: 3.916 MB / 0.963 GB, free: 93.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.876, allocations: 15.31 kB / 0.963 GB, free: 93.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.8761, allocations: 22.28 kB / 0.963 GB, free: 93.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.8783, allocations: 0.9348 MB / 0.9639 GB, free: 93.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.8798, allocations: 430 kB / 0.9643 GB, free: 93.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.8946, allocations: 22.76 MB / 0.9866 GB, free: 72.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.8968, allocations: 126.8 kB / 0.9867 GB, free: 72.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/0.8972, allocations: 94.62 kB / 0.9868 GB, free: 72.77 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.002606/0.8998, allocations: 1.65 MB / 0.9884 GB, free: 71.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/0.9004, allocations: 259 kB / 0.9886 GB, free: 71.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/0.9057, allocations: 3.271 MB / 0.9918 GB, free: 69.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.9057, allocations: 18.41 kB / 0.9918 GB, free: 69.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/0.9057, allocations: 11.44 kB / 0.9918 GB, free: 69.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.9058, allocations: 7.969 kB / 0.9919 GB, free: 69.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.921, allocations: 7.549 MB / 0.9992 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.921, allocations: 8.828 kB / 0.9992 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/0.922, allocations: 219.5 kB / 0.9994 GB, free: 65.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.9241, allocations: 0.8861 MB / 1 GB, free: 64.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.9243, allocations: 35.41 kB / 1 GB, free: 64.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/0.939, allocations: 22.72 MB / 1.023 GB, free: 41.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.9391, allocations: 7.938 kB / 1.023 GB, free: 41.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.9438, allocations: 3.379 MB / 1.026 GB, free: 37.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.9449, allocations: 0.5254 MB / 1.026 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005702/0.9455, allocations: 31.98 kB / 1.026 GB, free: 36.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.9468, allocations: 95.89 kB / 1.026 GB, free: 36.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.9471, allocations: 144.9 kB / 1.027 GB, free: 36.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9473, allocations: 48 kB / 1.027 GB, free: 36.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001503/0.9488, allocations: 1.221 MB / 1.028 GB, free: 35.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9488, allocations: 0 / 1.028 GB, free: 35.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002759/0.9515, allocations: 0.9062 MB / 1.029 GB, free: 34.57 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.004332/0.9559, allocations: 3.995 MB / 1.033 GB, free: 30.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005177/0.9611, allocations: 4.427 MB / 1.037 GB, free: 25.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9611, allocations: 3.844 kB / 1.037 GB, free: 25.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.9644, allocations: 2.991 MB / 1.04 GB, free: 22.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/0.9687, allocations: 0.8144 MB / 1.041 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03898/1.008, allocations: 25.04 MB / 1.065 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005713/1.013, allocations: 3.205 MB / 1.068 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002124/1.016, allocations: 0.5254 MB / 1.069 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.018, allocations: 1.655 MB / 1.07 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/1.018, allocations: 0 / 1.07 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.149, allocations: 68.98 MB / 1.138 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.25, allocations: 2.812 kB / 1.138 GB, free: 2.34 MB / 0.8106 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)