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.001051/0.001051, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001063/0.001063, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.73 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1863, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006926/0.1933, allocations: 4.368 MB / 0.6363 GB, free: 40 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.1981, allocations: 3.261 MB / 0.6395 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.1984, allocations: 11.94 kB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2, allocations: 0.5057 MB / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.2009, allocations: 392.9 kB / 0.6404 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2015, allocations: 257.9 kB / 0.6406 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.2022, allocations: 0.5956 MB / 0.6412 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.2028, allocations: 0.5209 MB / 0.6417 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.2033, allocations: 295 kB / 0.642 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.2037, allocations: 271.1 kB / 0.6423 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.2037, allocations: 43.94 kB / 0.6423 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.2043, allocations: 299.5 kB / 0.6426 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2044, allocations: 155.6 kB / 0.6428 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.2047, allocations: 238.9 kB / 0.643 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.2055, allocations: 0.7867 MB / 0.6437 GB, free: 8.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2055, allocations: 4 kB / 0.6438 GB, free: 8.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2055, allocations: 3.984 kB / 0.6438 GB, free: 8.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2055, allocations: 0 / 0.6438 GB, free: 8.418 MB / 494.1 MB 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.001319/0.2069, allocations: 0.7715 MB / 0.6445 GB, free: 7.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2069, allocations: 8.031 kB / 0.6445 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.2097, allocations: 0.6788 MB / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.2105, allocations: 447.8 kB / 0.6456 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.2105, allocations: 25.02 kB / 0.6456 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.2106, allocations: 36.06 kB / 0.6457 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2121, allocations: 0.7865 MB / 0.6464 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.2121, allocations: 3.938 kB / 0.6464 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.2122, allocations: 12 kB / 0.6464 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.2123, allocations: 48.61 kB / 0.6465 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2142, allocations: 0.8609 MB / 0.6473 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.218, allocations: 2.812 MB / 0.6501 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.2196, allocations: 0.5098 MB / 0.6506 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.2203, allocations: 260.6 kB / 0.6508 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.2204, allocations: 89.11 kB / 0.6509 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2204, allocations: 34.56 kB / 0.6509 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.2204, allocations: 0 / 0.6509 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01192/0.2324, allocations: 3.064 MB / 0.6539 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2324, allocations: 51.41 kB / 0.654 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.2329, allocations: 405.5 kB / 0.6544 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.233, allocations: 33.7 kB / 0.6544 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2332, allocations: 235.8 kB / 0.6546 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.2332, allocations: 78.81 kB / 0.6547 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.2334, allocations: 73.67 kB / 0.6548 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2336, allocations: 346.8 kB / 0.6551 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.2345, allocations: 368.3 kB / 0.6555 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.2355, allocations: 425.7 kB / 0.6559 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.2372, allocations: 0.7559 MB / 0.6566 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2372, allocations: 0 / 0.6566 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004984/0.2422, allocations: 1.492 MB / 0.6581 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.2423, allocations: 8 kB / 0.6581 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2423, allocations: 0 / 0.6581 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.2458, allocations: 0.7741 MB / 0.6588 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.2464, allocations: 139.8 kB / 0.659 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.2532, allocations: 4.84 MB / 0.6637 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.2541, allocations: 111.8 kB / 0.6638 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.2541, allocations: 15.98 kB / 0.6638 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/0.2553, allocations: 0.5349 MB / 0.6643 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009521/0.2563, allocations: 416 kB / 0.6647 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001811/0.2581, allocations: 0.7256 MB / 0.6654 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.2581, allocations: 3.938 kB / 0.6654 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004504/0.2627, allocations: 1.266 MB / 0.6667 GB, free: 44 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.2627, allocations: 13.59 kB / 0.6667 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2627, allocations: 0 / 0.6667 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.2652, allocations: 0.4961 MB / 0.6672 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.2659, allocations: 139.8 kB / 0.6673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.2695, allocations: 2.612 MB / 0.6699 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.2703, allocations: 107.8 kB / 0.67 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.2703, allocations: 12 kB / 0.67 GB, free: 12.52 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.0002125/0.2706, allocations: 208 kB / 0.6702 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.2706, allocations: 35.62 kB / 0.6702 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.2751, allocations: 1.36 MB / 0.6715 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2751, allocations: 4 kB / 0.6715 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2752, allocations: 4 kB / 0.6715 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2752, allocations: 0 / 0.6715 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.2803, allocations: 1.999 MB / 0.6735 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2804, allocations: 0 / 0.6735 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.2807, allocations: 75.84 kB / 0.6736 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003165/0.2839, allocations: 0.7078 MB / 0.6743 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.284, allocations: 11.94 kB / 0.6743 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006091/0.2901, allocations: 4.671 MB / 0.6788 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2901, allocations: 3.938 kB / 0.6788 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/0.2946, allocations: 1.357 MB / 0.6802 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.295, allocations: 160.7 kB / 0.6803 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.2951, allocations: 4.188 kB / 0.6803 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.2956, allocations: 95.84 kB / 0.6804 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2958, allocations: 23.95 kB / 0.6804 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2958, allocations: 11.94 kB / 0.6804 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004144/0.2962, allocations: 311.1 kB / 0.6807 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2963, allocations: 0 / 0.6807 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009027/0.2972, allocations: 200 kB / 0.6809 GB, free: 0.875 MB / 0.5137 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.0002428/0.2974, allocations: 111.2 kB / 0.681 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003922/0.3013, allocations: 1.578 MB / 0.6826 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3014, allocations: 0 / 0.6826 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.3027, allocations: 0.6234 MB / 0.6832 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.3035, allocations: 126.8 kB / 0.6833 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3056, allocations: 1.044 MB / 0.6843 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.3063, allocations: 0.9093 MB / 0.6852 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004718/0.3068, allocations: 151.2 kB / 0.6854 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3069, allocations: 39.42 kB / 0.6854 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.3069, allocations: 3.938 kB / 0.6854 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.02037/0.3273, allocations: 12.63 MB / 0.6977 GB, free: 15.6 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)