Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009684, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001656/0.001656, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.98/1.98, allocations: 205.4 MB / 222.4 MB, free: 5.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.994/1.994, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006012/0.0006012, allocations: 20.19 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3246, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01213/0.3368, allocations: 10.29 MB / 0.7979 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.3512, allocations: 8.743 MB / 0.8065 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.3534, allocations: 55.62 kB / 0.8065 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.3549, allocations: 273.8 kB / 0.8068 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.3608, allocations: 1.402 MB / 0.8082 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.363, allocations: 0.6115 MB / 0.8088 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.3677, allocations: 2.902 MB / 0.8116 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.3715, allocations: 1.953 MB / 0.8135 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3733, allocations: 0.8128 MB / 0.8143 GB, free: 372 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.3749, allocations: 0.9608 MB / 0.8152 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3751, allocations: 56 kB / 0.8153 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.3769, allocations: 0.8772 MB / 0.8161 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.3775, allocations: 486.4 kB / 0.8166 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009385/0.3784, allocations: 0.8019 MB / 0.8174 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.3816, allocations: 2.487 MB / 0.8198 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3816, allocations: 0 / 0.8198 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3816, allocations: 7.938 kB / 0.8198 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.3817, allocations: 0 / 0.8198 GB, free: 10.67 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003268/0.3849, allocations: 1.722 MB / 0.8215 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.385, allocations: 8.031 kB / 0.8215 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.3967, allocations: 2.105 MB / 0.8236 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.3993, allocations: 1.126 MB / 0.8247 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.3994, allocations: 90.69 kB / 0.8248 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.3997, allocations: 120 kB / 0.8249 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/0.4054, allocations: 2.506 MB / 0.8273 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.4055, allocations: 7.938 kB / 0.8273 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.4057, allocations: 48 kB / 0.8274 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/0.406, allocations: 130.1 kB / 0.8275 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/0.4136, allocations: 2.588 MB / 0.83 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.4295, allocations: 10.11 MB / 0.8399 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/0.4364, allocations: 2.01 MB / 0.8419 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/0.4394, allocations: 0.9855 MB / 0.8428 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.4395, allocations: 8.438 kB / 0.8428 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.4396, allocations: 39 kB / 0.8429 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 3.436e-06/0.4396, allocations: 0 / 0.8429 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03301/0.4726, allocations: 8.781 MB / 0.8514 GB, free: 9.254 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.4728, allocations: 60.06 kB / 0.8515 GB, free: 9.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.4749, allocations: 1.101 MB / 0.8526 GB, free: 8.062 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.4751, allocations: 37.7 kB / 0.8526 GB, free: 8.02 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/0.4758, allocations: 0.7457 MB / 0.8533 GB, free: 7.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.4763, allocations: 280 kB / 0.8536 GB, free: 6.988 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.4765, allocations: 77.67 kB / 0.8537 GB, free: 6.906 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.4768, allocations: 345.9 kB / 0.854 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.4802, allocations: 1.095 MB / 0.8551 GB, free: 5.469 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/0.4836, allocations: 1.325 MB / 0.8564 GB, free: 4.043 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006687/0.4903, allocations: 2.421 MB / 0.8587 GB, free: 1.531 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4903, allocations: 0 / 0.8587 GB, free: 1.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009433/0.4997, allocations: 3.315 MB / 0.862 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.4998, allocations: 8.875 kB / 0.862 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4998, allocations: 8 kB / 0.862 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/0.5028, allocations: 0.7872 MB / 0.8628 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.5049, allocations: 427.3 kB / 0.8632 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.5227, allocations: 14.72 MB / 0.8775 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.5256, allocations: 303.5 kB / 0.8778 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/0.526, allocations: 47.97 kB / 0.8779 GB, free: 12.8 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.001506/0.5275, allocations: 400 kB / 0.8783 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/0.5282, allocations: 146.3 kB / 0.8784 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.5384, allocations: 3.253 MB / 0.8816 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.5385, allocations: 11.94 kB / 0.8816 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/0.5385, allocations: 11.94 kB / 0.8816 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5385, allocations: 3.984 kB / 0.8816 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5513, allocations: 4.94 MB / 0.8864 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.5513, allocations: 4.344 kB / 0.8864 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.5531, allocations: 367.4 kB / 0.8868 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.5556, allocations: 0.6977 MB / 0.8875 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5558, allocations: 31.97 kB / 0.8875 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/0.5728, allocations: 14.35 MB / 0.9015 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.5729, allocations: 0 / 0.9015 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/0.5822, allocations: 3.081 MB / 0.9045 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.5833, allocations: 387.3 kB / 0.9049 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.5838, allocations: 23.94 kB / 0.9049 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/0.586, allocations: 299.5 kB / 0.9052 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/0.5864, allocations: 80.48 kB / 0.9053 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.5865, allocations: 39.97 kB / 0.9053 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001528/0.5881, allocations: 0.7405 MB / 0.906 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.72e-07/0.5881, allocations: 0 / 0.906 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002369/0.5905, allocations: 435.9 kB / 0.9064 GB, free: 14.17 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0003847/0.5909, allocations: 123.2 kB / 0.9066 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009901/0.6008, allocations: 3.66 MB / 0.9101 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.6008, allocations: 4 kB / 0.9101 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005896/0.6068, allocations: 2.387 MB / 0.9125 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/0.611, allocations: 491.6 kB / 0.9129 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.6214, allocations: 4.109 MB / 0.9169 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.6233, allocations: 1.384 MB / 0.9183 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00217/0.6255, allocations: 379.9 kB / 0.9187 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.626, allocations: 99.38 kB / 0.9188 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of SimCode: time 1.603e-06/0.626, allocations: 0 / 0.9188 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.6325/1.259, allocations: 28.86 MB / 0.9469 GB, free: 117.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: