Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.00125/0.00125, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7596/0.7596, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 63.69 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 77.93 MB / 0.6446 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006193/0.1832, allocations: 4.358 MB / 0.6488 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.188, allocations: 3.257 MB / 0.652 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.1884, allocations: 11.94 kB / 0.652 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.1899, allocations: 0.5212 MB / 0.6525 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.1909, allocations: 394 kB / 0.6529 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.1915, allocations: 247.4 kB / 0.6531 GB, free: 244 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.1922, allocations: 0.5878 MB / 0.6537 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.1929, allocations: 0.5326 MB / 0.6542 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.1933, allocations: 283.1 kB / 0.6545 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.1937, allocations: 275 kB / 0.6548 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.1938, allocations: 40 kB / 0.6548 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.1943, allocations: 295.5 kB / 0.6551 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1945, allocations: 163.5 kB / 0.6552 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.1947, allocations: 238.9 kB / 0.6555 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.1956, allocations: 0.7863 MB / 0.6562 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1956, allocations: 3.984 kB / 0.6562 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1956, allocations: 0 / 0.6562 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1956, allocations: 0 / 0.6562 GB, free: 13.05 MB / 0.4981 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.001249/0.1969, allocations: 0.7804 MB / 0.657 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1969, allocations: 8.625 kB / 0.657 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.1996, allocations: 0.6869 MB / 0.6577 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.2004, allocations: 452 kB / 0.6581 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2004, allocations: 28.95 kB / 0.6581 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.2005, allocations: 32.12 kB / 0.6582 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.202, allocations: 0.7903 MB / 0.6589 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2021, allocations: 0 / 0.6589 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.2021, allocations: 12 kB / 0.6589 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.2022, allocations: 40.61 kB / 0.659 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.2042, allocations: 0.8726 MB / 0.6598 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.2078, allocations: 2.82 MB / 0.6626 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2094, allocations: 0.5019 MB / 0.6631 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.2101, allocations: 264.6 kB / 0.6633 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.2102, allocations: 89.05 kB / 0.6634 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2103, allocations: 30.56 kB / 0.6634 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.2103, allocations: 0 / 0.6634 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.01136/0.2217, allocations: 3.073 MB / 0.6664 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2217, allocations: 59.34 kB / 0.6665 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.2222, allocations: 401.6 kB / 0.6669 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2222, allocations: 29.7 kB / 0.6669 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.2224, allocations: 244.2 kB / 0.6671 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.2225, allocations: 87.33 kB / 0.6672 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2226, allocations: 73.62 kB / 0.6673 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2228, allocations: 346.8 kB / 0.6676 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009381/0.2237, allocations: 364.4 kB / 0.668 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.2247, allocations: 424.3 kB / 0.6684 GB, free: 108 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.2266, allocations: 0.7564 MB / 0.6691 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2266, allocations: 4 kB / 0.6691 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004677/0.2313, allocations: 1.496 MB / 0.6706 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2314, allocations: 4 kB / 0.6706 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2314, allocations: 4 kB / 0.6706 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/0.2346, allocations: 0.7741 MB / 0.6713 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.2353, allocations: 131.8 kB / 0.6715 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/0.2416, allocations: 4.84 MB / 0.6762 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.2424, allocations: 115.9 kB / 0.6763 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.2425, allocations: 19.92 kB / 0.6763 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/0.2436, allocations: 0.5279 MB / 0.6768 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009483/0.2446, allocations: 412.2 kB / 0.6772 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/0.2464, allocations: 0.7333 MB / 0.678 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.2464, allocations: 4 kB / 0.678 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004076/0.2505, allocations: 1.274 MB / 0.6792 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2505, allocations: 8 kB / 0.6792 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2505, allocations: 4 kB / 0.6792 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/0.2527, allocations: 0.4925 MB / 0.6797 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.2533, allocations: 143.8 kB / 0.6798 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.2567, allocations: 2.602 MB / 0.6824 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.2574, allocations: 107.8 kB / 0.6825 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.2575, allocations: 16.25 kB / 0.6825 GB, free: 1.117 MB / 0.5137 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.0002086/0.2577, allocations: 212 kB / 0.6827 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.2578, allocations: 35.77 kB / 0.6827 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.2621, allocations: 1.361 MB / 0.6841 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2621, allocations: 0 / 0.6841 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2621, allocations: 3.938 kB / 0.6841 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2621, allocations: 4 kB / 0.6841 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.2669, allocations: 1.987 MB / 0.686 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2669, allocations: 4 kB / 0.686 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.2673, allocations: 83.94 kB / 0.6861 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.2701, allocations: 0.6999 MB / 0.6868 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.2702, allocations: 15.94 kB / 0.6868 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/0.2755, allocations: 4.671 MB / 0.6913 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2755, allocations: 7.969 kB / 0.6914 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.2795, allocations: 1.365 MB / 0.6927 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.2798, allocations: 164.8 kB / 0.6928 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.2799, allocations: 4 kB / 0.6929 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.2805, allocations: 91.84 kB / 0.6929 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2806, allocations: 20.16 kB / 0.693 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.2806, allocations: 12 kB / 0.693 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004442/0.2811, allocations: 307.1 kB / 0.6933 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2811, allocations: 0 / 0.6933 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009049/0.282, allocations: 200 kB / 0.6935 GB, free: 5.457 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0002425/0.2823, allocations: 119.1 kB / 0.6936 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.2858, allocations: 1.562 MB / 0.6951 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2858, allocations: 8.062 kB / 0.6951 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.287, allocations: 0.631 MB / 0.6957 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.2876, allocations: 118.2 kB / 0.6958 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2896, allocations: 1.054 MB / 0.6969 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.2901, allocations: 0.9093 MB / 0.6977 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004944/0.2906, allocations: 155.2 kB / 0.6979 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2907, allocations: 35.42 kB / 0.6979 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.2907, allocations: 0 / 0.6979 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of Templates: time 0.01817/0.3089, allocations: 12.63 MB / 0.7103 GB, free: 4.18 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)