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.001587/0.001587, allocations: 101.5 kB / 15.98 MB, free: 6.301 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.001587/0.001588, allocations: 201.5 kB / 16.91 MB, free: 6.16 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7817/0.7817, allocations: 126 MB / 416.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.4945 GB, free: 3.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3922, allocations: 78.7 MB / 0.5713 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006887/0.3992, allocations: 6.072 MB / 0.5773 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.4039, allocations: 3.117 MB / 0.5803 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.4047, allocations: 27.78 kB / 0.5803 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.407, allocations: 0.8872 MB / 0.5812 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.4084, allocations: 437 kB / 0.5816 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4097, allocations: 442.5 kB / 0.582 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.411, allocations: 1.098 MB / 0.5831 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009702/0.412, allocations: 0.7046 MB / 0.5838 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.4126, allocations: 436.6 kB / 0.5842 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.4131, allocations: 497 kB / 0.5847 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.4132, allocations: 57.59 kB / 0.5847 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000992/0.4142, allocations: 488.4 kB / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.4145, allocations: 293 kB / 0.5855 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.4148, allocations: 399 kB / 0.5859 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.416, allocations: 1.196 MB / 0.587 GB, free: 20.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.416, allocations: 0 / 0.587 GB, free: 20.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.416, allocations: 0.8438 kB / 0.587 GB, free: 20.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.4161, allocations: 1.312 kB / 0.587 GB, free: 20.17 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.001552/0.4176, allocations: 1.055 MB / 0.5881 GB, free: 19.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4177, allocations: 8.594 kB / 0.5881 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.4192, allocations: 218.6 kB / 0.5883 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.4199, allocations: 0.537 MB / 0.5888 GB, free: 18.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.42, allocations: 50.45 kB / 0.5889 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4201, allocations: 61.12 kB / 0.5889 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.4214, allocations: 1.036 MB / 0.5899 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.4215, allocations: 11.94 kB / 0.5899 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.4215, allocations: 33.5 kB / 0.59 GB, free: 17.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.262e-05/0.4216, allocations: 67.11 kB / 0.59 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.4226, allocations: 0.6922 MB / 0.5907 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.4265, allocations: 5.752 MB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.4273, allocations: 0.5961 MB / 0.5969 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.428, allocations: 430.8 kB / 0.5973 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.428, allocations: 4 kB / 0.5973 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4281, allocations: 42.55 kB / 0.5974 GB, free: 11.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.4281, allocations: 0 / 0.5974 GB, free: 11.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003672/0.4317, allocations: 2.049 MB / 0.5994 GB, free: 9.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.4318, allocations: 55.41 kB / 0.5994 GB, free: 9.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.4321, allocations: 458.7 kB / 0.5999 GB, free: 8.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.4322, allocations: 29.7 kB / 0.5999 GB, free: 8.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4323, allocations: 391 kB / 0.6003 GB, free: 8.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.4324, allocations: 149.8 kB / 0.6004 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.4325, allocations: 110.2 kB / 0.6005 GB, free: 8.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.4326, allocations: 370.8 kB / 0.6009 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4329, allocations: 241.2 kB / 0.6011 GB, free: 7.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.4333, allocations: 458.1 kB / 0.6015 GB, free: 6.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.4339, allocations: 0.7635 MB / 0.6023 GB, free: 6.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4339, allocations: 4 kB / 0.6023 GB, free: 6.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001483/0.4354, allocations: 1.066 MB / 0.6033 GB, free: 5.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4355, allocations: 8 kB / 0.6033 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4355, allocations: 4 kB / 0.6033 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000905/0.4364, allocations: 335.4 kB / 0.6036 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4367, allocations: 99.81 kB / 0.6037 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.4427, allocations: 7.516 MB / 0.6111 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.4432, allocations: 28.02 kB / 0.6111 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.4432, allocations: 32 kB / 0.6111 GB, free: 12.44 MB / 462.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.0003314/0.4436, allocations: 241.5 kB / 0.6114 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.4437, allocations: 67.42 kB / 0.6114 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4454, allocations: 0.9081 MB / 0.6123 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4455, allocations: 4 kB / 0.6123 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4455, allocations: 4 kB / 0.6123 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4455, allocations: 7.938 kB / 0.6123 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.4481, allocations: 1.706 MB / 0.614 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4481, allocations: 3.938 kB / 0.614 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4483, allocations: 43.91 kB / 0.614 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009138/0.4492, allocations: 327 kB / 0.6144 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.4493, allocations: 8 kB / 0.6144 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/0.4561, allocations: 7.517 MB / 0.6217 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4561, allocations: 4.031 kB / 0.6217 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4578, allocations: 1.011 MB / 0.6227 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.4581, allocations: 172.3 kB / 0.6229 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.4582, allocations: 8 kB / 0.6229 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4584, allocations: 27.97 kB / 0.6229 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4586, allocations: 35.95 kB / 0.6229 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.4586, allocations: 12 kB / 0.6229 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.4589, allocations: 310.9 kB / 0.6232 GB, free: 15.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4589, allocations: 0 / 0.6232 GB, free: 15.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008344/0.4598, allocations: 199.9 kB / 0.6234 GB, free: 15.1 MB / 478.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.0001466/0.4599, allocations: 107.2 kB / 0.6235 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.4618, allocations: 1.253 MB / 0.6248 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4618, allocations: 4 kB / 0.6248 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.463, allocations: 0.8583 MB / 0.6256 GB, free: 12.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.464, allocations: 207.3 kB / 0.6258 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.466, allocations: 1.514 MB / 0.6273 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.4666, allocations: 0.9881 MB / 0.6282 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.4669, allocations: 105.1 kB / 0.6283 GB, free: 9.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.467, allocations: 31.44 kB / 0.6284 GB, free: 9.863 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.467, allocations: 0 / 0.6284 GB, free: 9.863 MB / 478.1 MB Notification: Performance of Templates: time 0.01625/0.4832, allocations: 10.02 MB / 0.6382 GB, free: 15.95 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)