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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 105.4 kB / 15.7 MB, free: 28 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.001625/0.001625, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.913/1.913, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00261/0.002611, allocations: 67.52 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2844, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03541/0.3198, allocations: 30.66 MB / 0.8141 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.343, allocations: 13.65 MB / 0.8274 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003786/0.3468, allocations: 143.2 kB / 0.8275 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.3583, allocations: 3.191 MB / 0.8307 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0136/0.3719, allocations: 2.664 MB / 0.8333 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008331/0.3803, allocations: 2.018 MB / 0.8352 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01553/0.3959, allocations: 7.628 MB / 0.8427 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01938/0.4153, allocations: 8.221 MB / 0.8507 GB, free: 8.277 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008436/0.4238, allocations: 3.412 MB / 0.854 GB, free: 4.855 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007938/0.4318, allocations: 3.376 MB / 0.8573 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.4345, allocations: 0.5938 MB / 0.8579 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/0.4406, allocations: 1.494 MB / 0.8594 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.4458, allocations: 2.37 MB / 0.8617 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007393/0.4532, allocations: 2.89 MB / 0.8645 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4678, allocations: 9.465 MB / 0.8738 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4679, allocations: 0 / 0.8738 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4679, allocations: 0 / 0.8738 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004067/0.4683, allocations: 0 / 0.8738 GB, free: 0.6094 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.0151/0.4834, allocations: 5.136 MB / 0.8788 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4835, allocations: 8.031 kB / 0.8788 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006607/0.4901, allocations: 1.002 MB / 0.8798 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007479/0.4976, allocations: 3.071 MB / 0.8828 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.498, allocations: 316.8 kB / 0.8831 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.4997, allocations: 416.1 kB / 0.8835 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.5175, allocations: 6.795 MB / 0.8901 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/0.5178, allocations: 19.83 kB / 0.8901 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001751/0.5196, allocations: 180 kB / 0.8903 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.5207, allocations: 368 kB / 0.8906 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.5331, allocations: 5.118 MB / 0.8956 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4673/1, allocations: 30.52 MB / 0.9254 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.003, allocations: 1.392 MB / 0.9268 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/1.004, allocations: 1.325 MB / 0.9281 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/1.005, allocations: 15.08 kB / 0.9281 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.005, allocations: 50.28 kB / 0.9281 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.958e-06/1.005, allocations: 0 / 0.9281 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08719/1.092, allocations: 23.07 MB / 0.9507 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.092, allocations: 76.78 kB / 0.9508 GB, free: 110 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.095, allocations: 2.064 MB / 0.9528 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/1.095, allocations: 61.61 kB / 0.9528 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.096, allocations: 2.016 MB / 0.9548 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.097, allocations: 0.6746 MB / 0.9555 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006632/1.098, allocations: 419.7 kB / 0.9559 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.098, allocations: 301.1 kB / 0.9561 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.099, allocations: 1.43 MB / 0.9575 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/1.101, allocations: 2.015 MB / 0.9595 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/1.105, allocations: 3.687 MB / 0.9631 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.105, allocations: 8.438 kB / 0.9631 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009226/1.114, allocations: 5.666 MB / 0.9686 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.114, allocations: 11.69 kB / 0.9687 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.114, allocations: 18 kB / 0.9687 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005877/1.12, allocations: 2.088 MB / 0.9707 GB, free: 96.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.121, allocations: 371.4 kB / 0.9711 GB, free: 96.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/1.15, allocations: 38.43 MB / 1.009 GB, free: 57.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.153, allocations: 135.9 kB / 1.009 GB, free: 57.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/1.153, allocations: 92 kB / 1.009 GB, free: 57.38 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.002394/1.156, allocations: 1.503 MB / 1.01 GB, free: 55.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/1.156, allocations: 284.6 kB / 1.011 GB, free: 55.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008157/1.165, allocations: 5.215 MB / 1.016 GB, free: 50.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.165, allocations: 20 kB / 1.016 GB, free: 50.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-05/1.165, allocations: 19.94 kB / 1.016 GB, free: 50.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.165, allocations: 11.97 kB / 1.016 GB, free: 50.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.182, allocations: 9.675 MB / 1.025 GB, free: 40.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.182, allocations: 9.641 kB / 1.025 GB, free: 40.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/1.183, allocations: 211.6 kB / 1.025 GB, free: 40.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005215/1.189, allocations: 1.849 MB / 1.027 GB, free: 38.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.189, allocations: 39.66 kB / 1.027 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/1.218, allocations: 37.43 MB / 1.064 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.218, allocations: 11.94 kB / 1.064 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.228, allocations: 4.905 MB / 1.069 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.23, allocations: 0.6199 MB / 1.069 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008873/1.231, allocations: 43.98 kB / 1.069 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.233, allocations: 126.1 kB / 1.069 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007158/1.234, allocations: 201.5 kB / 1.07 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.234, allocations: 56 kB / 1.07 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002598/1.237, allocations: 1.382 MB / 1.071 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.237, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004524/1.241, allocations: 1.043 MB / 1.072 GB, free: 5.809 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.0004455/1.242, allocations: 163 kB / 1.072 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.252, allocations: 6.299 MB / 1.078 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.252, allocations: 4 kB / 1.078 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006984/1.259, allocations: 4.404 MB / 1.083 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006488/1.266, allocations: 0.9858 MB / 1.084 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.287, allocations: 8.044 MB / 1.091 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005765/1.292, allocations: 3.123 MB / 1.094 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002423/1.295, allocations: 0.5315 MB / 1.095 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/1.295, allocations: 143.4 kB / 1.095 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.295, allocations: 0 / 1.095 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.1018/1.397, allocations: 57.73 MB / 1.151 GB, free: 4.867 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)