Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 109.4 kB / 17.03 MB, free: 5.703 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.001519/0.001519, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3481, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007367/0.3555, allocations: 6.067 MB / 0.5635 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.3603, allocations: 3.141 MB / 0.5666 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.361, allocations: 29.53 kB / 0.5666 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3633, allocations: 0.9383 MB / 0.5675 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3646, allocations: 474.5 kB / 0.568 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3659, allocations: 492.7 kB / 0.5684 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3671, allocations: 1.09 MB / 0.5695 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.368, allocations: 0.6382 MB / 0.5701 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.3686, allocations: 436.4 kB / 0.5705 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.3691, allocations: 476 kB / 0.571 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/0.3692, allocations: 57.53 kB / 0.571 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009261/0.3701, allocations: 486.5 kB / 0.5715 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.3704, allocations: 288.7 kB / 0.5718 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.3708, allocations: 400.2 kB / 0.5722 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3722, allocations: 1.175 MB / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3722, allocations: 1.125 kB / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3722, allocations: 0 / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3722, allocations: 2.844 kB / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001573/0.3738, allocations: 1.05 MB / 0.5743 GB, free: 26.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3739, allocations: 9.625 kB / 0.5743 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.3754, allocations: 220.2 kB / 0.5746 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.3764, allocations: 0.586 MB / 0.5751 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3765, allocations: 45.95 kB / 0.5752 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3766, allocations: 62.45 kB / 0.5752 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.378, allocations: 1.038 MB / 0.5762 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.378, allocations: 6.812 kB / 0.5763 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.3781, allocations: 30.48 kB / 0.5763 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3782, allocations: 69.69 kB / 0.5764 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3793, allocations: 0.6926 MB / 0.577 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.3837, allocations: 5.735 MB / 0.5826 GB, free: 20.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.3846, allocations: 0.5993 MB / 0.5832 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/0.3854, allocations: 415.6 kB / 0.5836 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3854, allocations: 7.797 kB / 0.5836 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3855, allocations: 35.91 kB / 0.5837 GB, free: 19.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 3.356e-06/0.3855, allocations: 5.281 kB / 0.5837 GB, free: 19.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004377/0.3899, allocations: 2.055 MB / 0.5857 GB, free: 18.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3899, allocations: 55.81 kB / 0.5857 GB, free: 18.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.3905, allocations: 453.8 kB / 0.5861 GB, free: 18.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.3905, allocations: 31.14 kB / 0.5862 GB, free: 18.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.3908, allocations: 389.6 kB / 0.5866 GB, free: 18.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3909, allocations: 154.3 kB / 0.5867 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3911, allocations: 113.9 kB / 0.5868 GB, free: 17.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3912, allocations: 364.5 kB / 0.5872 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.3916, allocations: 248.2 kB / 0.5874 GB, free: 17.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.3921, allocations: 456.8 kB / 0.5878 GB, free: 17.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3932, allocations: 0.752 MB / 0.5886 GB, free: 16.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3932, allocations: 2.25 kB / 0.5886 GB, free: 16.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001953/0.3951, allocations: 1.065 MB / 0.5896 GB, free: 16.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3952, allocations: 8 kB / 0.5896 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3952, allocations: 6.438 kB / 0.5896 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.3963, allocations: 328.7 kB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.3967, allocations: 104 kB / 0.59 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.4032, allocations: 7.52 MB / 0.5974 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.4039, allocations: 30.89 kB / 0.5974 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.4039, allocations: 30.16 kB / 0.5974 GB, free: 8.914 MB / 446.1 MB 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.4044, allocations: 243.1 kB / 0.5977 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.4045, allocations: 61.19 kB / 0.5977 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4061, allocations: 0.9164 MB / 0.5986 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4061, allocations: 4.469 kB / 0.5986 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4061, allocations: 3.594 kB / 0.5986 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4061, allocations: 1.188 kB / 0.5986 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.4089, allocations: 1.711 MB / 0.6003 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.409, allocations: 1.188 kB / 0.6003 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.4091, allocations: 42.41 kB / 0.6003 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009128/0.4101, allocations: 327.8 kB / 0.6007 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.4101, allocations: 8.156 kB / 0.6007 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005438/0.4156, allocations: 7.505 MB / 0.608 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4156, allocations: 7.938 kB / 0.608 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.4174, allocations: 1.019 MB / 0.609 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.4177, allocations: 172.4 kB / 0.6092 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.4178, allocations: 8 kB / 0.6092 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.4181, allocations: 19.97 kB / 0.6092 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.4182, allocations: 39.95 kB / 0.6092 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4183, allocations: 15.94 kB / 0.6092 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.4186, allocations: 310.9 kB / 0.6095 GB, free: 12.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4186, allocations: 0 / 0.6095 GB, free: 12.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008293/0.4194, allocations: 199.9 kB / 0.6097 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001364/0.4196, allocations: 106.1 kB / 0.6098 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.4214, allocations: 1.21 MB / 0.611 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4214, allocations: 0 / 0.611 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.4226, allocations: 0.8621 MB / 0.6118 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.4235, allocations: 201.3 kB / 0.612 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4254, allocations: 1.228 MB / 0.6132 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.4261, allocations: 0.9882 MB / 0.6142 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000269/0.4264, allocations: 101.2 kB / 0.6143 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.4264, allocations: 35.44 kB / 0.6143 GB, free: 7.895 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4265, allocations: 4 kB / 0.6143 GB, free: 7.891 MB / 462.1 MB Notification: Performance of Templates: time 0.0168/0.4433, allocations: 9.962 MB / 0.6241 GB, free: 14.04 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)