Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001498/0.001498, allocations: 108 kB / 15.6 MB, free: 132 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.001856/0.001856, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.754/1.754, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001369/0.001369, allocations: 69.25 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2064, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0341/0.2405, allocations: 30.67 MB / 0.8134 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.2616, allocations: 13.65 MB / 0.8268 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/0.2659, allocations: 143.3 kB / 0.8269 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008445/0.2744, allocations: 3.195 MB / 0.83 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008214/0.2826, allocations: 2.665 MB / 0.8326 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.2882, allocations: 2.006 MB / 0.8346 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.2986, allocations: 7.622 MB / 0.842 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.3098, allocations: 8.272 MB / 0.8501 GB, free: 8.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006737/0.3166, allocations: 3.4 MB / 0.8534 GB, free: 5.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005745/0.3224, allocations: 3.379 MB / 0.8567 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.3245, allocations: 0.5977 MB / 0.8573 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.3288, allocations: 1.494 MB / 0.8588 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003698/0.3325, allocations: 2.366 MB / 0.8611 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005568/0.3381, allocations: 2.882 MB / 0.8639 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3488, allocations: 9.395 MB / 0.8731 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3489, allocations: 0 / 0.8731 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3489, allocations: 0 / 0.8731 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003012/0.3492, allocations: 0 / 0.8731 GB, free: 1.238 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01366/0.3629, allocations: 5.144 MB / 0.8781 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.3629, allocations: 11.97 kB / 0.8781 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002354/0.3653, allocations: 0.6203 MB / 0.8787 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007148/0.3725, allocations: 0.9941 MB / 0.8797 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007166/0.3797, allocations: 2.904 MB / 0.8825 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.38, allocations: 308.9 kB / 0.8828 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.3814, allocations: 427.8 kB / 0.8832 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.3956, allocations: 6.795 MB / 0.8898 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.3959, allocations: 19.83 kB / 0.8899 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.3971, allocations: 184 kB / 0.89 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009219/0.398, allocations: 368 kB / 0.8904 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.4082, allocations: 5.118 MB / 0.8954 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.374/0.7822, allocations: 30.74 MB / 0.9254 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.7844, allocations: 1.39 MB / 0.9268 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.7861, allocations: 1.325 MB / 0.9281 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.7863, allocations: 13.97 kB / 0.9281 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.7863, allocations: 50.09 kB / 0.9281 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.677e-06/0.7863, allocations: 0 / 0.9281 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08867/0.875, allocations: 23.07 MB / 0.9506 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.8751, allocations: 76.69 kB / 0.9507 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.8786, allocations: 2.062 MB / 0.9527 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004073/0.8791, allocations: 61.48 kB / 0.9528 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.8802, allocations: 2.01 MB / 0.9548 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.8808, allocations: 0.6758 MB / 0.9554 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006756/0.8815, allocations: 409.8 kB / 0.9558 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.8815, allocations: 301.1 kB / 0.9561 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.8832, allocations: 1.43 MB / 0.9575 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.8851, allocations: 2.015 MB / 0.9595 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.8888, allocations: 3.69 MB / 0.9631 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.8888, allocations: 17.7 kB / 0.9631 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009727/0.8985, allocations: 5.657 MB / 0.9686 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.8986, allocations: 15.47 kB / 0.9686 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.8986, allocations: 15.34 kB / 0.9686 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005979/0.9046, allocations: 2.093 MB / 0.9707 GB, free: 97.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.9061, allocations: 378 kB / 0.971 GB, free: 97.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02887/0.935, allocations: 38.46 MB / 1.009 GB, free: 57.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.9377, allocations: 127.9 kB / 1.009 GB, free: 57.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.938, allocations: 91.98 kB / 1.009 GB, free: 57.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002324/0.9403, allocations: 1.512 MB / 1.01 GB, free: 55.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.9409, allocations: 280.7 kB / 1.011 GB, free: 55.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008588/0.9495, allocations: 5.221 MB / 1.016 GB, free: 50.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.9495, allocations: 20 kB / 1.016 GB, free: 50.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-05/0.9496, allocations: 23.92 kB / 1.016 GB, free: 50.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.9496, allocations: 14.81 kB / 1.016 GB, free: 50.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.9651, allocations: 9.68 MB / 1.025 GB, free: 40.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.9652, allocations: 8.062 kB / 1.025 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.966, allocations: 215.6 kB / 1.025 GB, free: 40.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/0.9711, allocations: 1.849 MB / 1.027 GB, free: 38.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.9713, allocations: 40 kB / 1.027 GB, free: 38.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02751/0.9988, allocations: 37.46 MB / 1.064 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.9989, allocations: 11.94 kB / 1.064 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009064/1.008, allocations: 4.913 MB / 1.069 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.01, allocations: 0.6186 MB / 1.069 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/1.01, allocations: 40 kB / 1.069 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.012, allocations: 127.8 kB / 1.069 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/1.012, allocations: 193.5 kB / 1.07 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.012, allocations: 56 kB / 1.07 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00195/1.014, allocations: 1.382 MB / 1.071 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003839/1.018, allocations: 1.047 MB / 1.072 GB, free: 5.703 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009056/1.027, allocations: 5.539 MB / 1.077 GB, free: 0 / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.039, allocations: 7.213 MB / 1.084 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.039, allocations: 0.875 kB / 1.084 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006731/1.046, allocations: 4.401 MB / 1.089 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/1.052, allocations: 1.001 MB / 1.09 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06692/1.119, allocations: 34.1 MB / 1.123 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005306/1.124, allocations: 3.123 MB / 1.126 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002219/1.126, allocations: 0.5238 MB / 1.127 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.129, allocations: 1.671 MB / 1.128 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/1.129, allocations: 0 / 1.128 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2375/1.366, allocations: 89.26 MB / 1.215 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.41, allocations: 15.62 kB / 1.215 GB, free: 0.9219 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)