Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.822/2.822, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 181.7 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.607/2.607, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001811/0.00181, allocations: 93.97 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005128, allocations: 11.25 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.008716/0.2302, allocations: 3.85 MB / 0.9033 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008406/0.2386, allocations: 3.01 MB / 0.9062 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/0.2392, allocations: 11.94 kB / 0.9062 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2403, allocations: 159.1 kB / 0.9064 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.2421, allocations: 312 kB / 0.9067 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2434, allocations: 181.7 kB / 0.9068 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.245, allocations: 0.6501 MB / 0.9075 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.2476, allocations: 0.7666 MB / 0.9082 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.2483, allocations: 183.2 kB / 0.9084 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006763/0.249, allocations: 243.1 kB / 0.9086 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.2491, allocations: 20 kB / 0.9086 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.2503, allocations: 231.7 kB / 0.9089 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.2507, allocations: 135.6 kB / 0.909 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2509, allocations: 101.5 kB / 0.9091 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.2525, allocations: 0.6743 MB / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2526, allocations: 0 / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2526, allocations: 0 / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.2526, allocations: 0 / 0.9097 GB, free: 54.98 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002411/0.255, allocations: 0.713 MB / 0.9104 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.2551, allocations: 12.03 kB / 0.9105 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007127/0.2623, allocations: 0.6945 MB / 0.9111 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.264, allocations: 472 kB / 0.9116 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.2641, allocations: 21.03 kB / 0.9116 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.2643, allocations: 36.03 kB / 0.9116 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.2679, allocations: 0.7943 MB / 0.9124 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.268, allocations: 0 / 0.9124 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.2681, allocations: 12 kB / 0.9124 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/0.2685, allocations: 52.59 kB / 0.9125 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.2735, allocations: 0.8765 MB / 0.9133 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008384/0.2819, allocations: 2.859 MB / 0.9161 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.286, allocations: 0.5176 MB / 0.9166 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.2879, allocations: 268.6 kB / 0.9169 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.2881, allocations: 96.97 kB / 0.917 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2882, allocations: 30.56 kB / 0.917 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 4.9e-06/0.2882, allocations: 0 / 0.917 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.02935/0.3176, allocations: 3.208 MB / 0.9201 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.3177, allocations: 85.05 kB / 0.9202 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3188, allocations: 417.6 kB / 0.9206 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.319, allocations: 29.7 kB / 0.9206 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.3193, allocations: 239.8 kB / 0.9209 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.3195, allocations: 82.84 kB / 0.921 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.3196, allocations: 4 kB / 0.921 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3197, allocations: 342.8 kB / 0.9213 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.322, allocations: 371.5 kB / 0.9216 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.3243, allocations: 441.2 kB / 0.9221 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.3267, allocations: 392.8 kB / 0.9224 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3268, allocations: 0 / 0.9224 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01284/0.3397, allocations: 1.551 MB / 0.9239 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3398, allocations: 144.1 kB / 0.9241 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3399, allocations: 0 / 0.9241 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009759/0.3496, allocations: 0.8559 MB / 0.9249 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.3513, allocations: 131.8 kB / 0.925 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.3665, allocations: 4.667 MB / 0.9296 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.3686, allocations: 115.8 kB / 0.9297 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.3688, allocations: 23.92 kB / 0.9297 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3688, allocations: 4 kB / 0.9297 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/0.3799, allocations: 1.259 MB / 0.931 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.38, allocations: 8 kB / 0.931 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/0.3863, allocations: 0.5432 MB / 0.9315 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.388, allocations: 151.8 kB / 0.9317 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.3958, allocations: 2.502 MB / 0.9341 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.3976, allocations: 111.9 kB / 0.9342 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3977, allocations: 23.92 kB / 0.9342 GB, free: 28.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007458/0.3985, allocations: 320.8 kB / 0.9345 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.3988, allocations: 35.53 kB / 0.9346 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.41, allocations: 1.428 MB / 0.936 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.4101, allocations: 4 kB / 0.936 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4101, allocations: 0 / 0.936 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.4107, allocations: 172.6 kB / 0.9361 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4109, allocations: 7.938 kB / 0.9361 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.4124, allocations: 91.86 kB / 0.9362 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.4126, allocations: 31.95 kB / 0.9363 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008274/0.4209, allocations: 1.24 MB / 0.9375 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005605/0.4266, allocations: 1.189 MB / 0.9386 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00177/0.4284, allocations: 335.7 kB / 0.9389 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006847/0.4291, allocations: 307.1 kB / 0.9392 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of Backend: time 1.082e-06/0.4291, allocations: 8 kB / 0.9393 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007856/0.437, allocations: 1.507 MB / 0.9407 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003486/0.4405, allocations: 1.587 MB / 0.9423 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.04289/0.4835, allocations: 14.57 MB / 0.9565 GB, free: 6.027 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)