Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001376/0.001375, allocations: 172.4 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008397/0.0008395, allocations: 99.33 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 8.812 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.183, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004324/0.1874, allocations: 4.064 MB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.1916, allocations: 3.265 MB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.192, allocations: 7.938 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.1935, allocations: 490.2 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.1945, allocations: 346.5 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.1951, allocations: 233.9 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.196, allocations: 0.7984 MB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/0.1967, allocations: 0.4893 MB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.1971, allocations: 187.2 kB / 0.9064 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.1975, allocations: 251 kB / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.1976, allocations: 20 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.1983, allocations: 383.2 kB / 0.907 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1984, allocations: 139.6 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1986, allocations: 202.8 kB / 0.9073 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.1995, allocations: 0.8333 MB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1995, allocations: 0 / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1995, allocations: 0 / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.1995, allocations: 0 / 0.9081 GB, free: 56.46 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.001328/0.2009, allocations: 0.7091 MB / 0.9088 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2009, allocations: 8.031 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.2035, allocations: 0.6984 MB / 0.9095 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.2043, allocations: 475.8 kB / 0.91 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2043, allocations: 25.03 kB / 0.91 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.2044, allocations: 36.11 kB / 0.91 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2057, allocations: 0.7904 MB / 0.9108 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.2057, allocations: 7.984 kB / 0.9108 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.2058, allocations: 12 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.2059, allocations: 48.59 kB / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2076, allocations: 0.8804 MB / 0.9117 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.2106, allocations: 2.87 MB / 0.9145 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.2121, allocations: 0.5214 MB / 0.915 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.2127, allocations: 264.6 kB / 0.9153 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.2128, allocations: 89.09 kB / 0.9154 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2128, allocations: 34.56 kB / 0.9154 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/0.2128, allocations: 0 / 0.9154 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0101/0.2229, allocations: 3.218 MB / 0.9186 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.223, allocations: 81.11 kB / 0.9186 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.2234, allocations: 413.6 kB / 0.919 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2234, allocations: 33.7 kB / 0.9191 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2236, allocations: 243.8 kB / 0.9193 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.2236, allocations: 78.81 kB / 0.9194 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.2237, allocations: 33.7 kB / 0.9194 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.2238, allocations: 338.8 kB / 0.9197 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007599/0.2245, allocations: 371.5 kB / 0.9201 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/0.2254, allocations: 441.3 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2269, allocations: 0.7843 MB / 0.9213 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2269, allocations: 4 kB / 0.9213 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004503/0.2314, allocations: 1.545 MB / 0.9228 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.2315, allocations: 152 kB / 0.9229 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2315, allocations: 0 / 0.9229 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/0.235, allocations: 0.8442 MB / 0.9237 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.2356, allocations: 135.8 kB / 0.9239 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.241, allocations: 4.67 MB / 0.9284 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.2417, allocations: 119.8 kB / 0.9286 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2418, allocations: 15.98 kB / 0.9286 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.2418, allocations: 4 kB / 0.9286 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003694/0.2455, allocations: 1.265 MB / 0.9298 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2455, allocations: 4 kB / 0.9298 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.2478, allocations: 0.5549 MB / 0.9304 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.2484, allocations: 147.8 kB / 0.9305 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.2522, allocations: 2.744 MB / 0.9332 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.2528, allocations: 111.8 kB / 0.9333 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.2529, allocations: 15.98 kB / 0.9333 GB, free: 29.71 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.2532, allocations: 324.9 kB / 0.9336 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.2533, allocations: 35.61 kB / 0.9336 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.2574, allocations: 1.423 MB / 0.935 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.2574, allocations: 3.984 kB / 0.935 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2574, allocations: 0 / 0.935 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.2576, allocations: 168.7 kB / 0.9352 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.2577, allocations: 3.938 kB / 0.9352 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.2583, allocations: 99.84 kB / 0.9353 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2584, allocations: 27.95 kB / 0.9353 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002922/0.2613, allocations: 1.249 MB / 0.9365 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001868/0.2632, allocations: 1.194 MB / 0.9377 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005804/0.2638, allocations: 335.7 kB / 0.938 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002932/0.2641, allocations: 311.1 kB / 0.9383 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of Backend: time 5.62e-07/0.2641, allocations: 0 / 0.9383 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.2682, allocations: 1.731 MB / 0.94 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00174/0.2699, allocations: 1.574 MB / 0.9416 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.01945/0.2894, allocations: 14.82 MB / 0.956 GB, free: 6.344 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)