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.001242/0.001243, allocations: 107.3 kB / 16.41 MB, free: 6.492 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.001217/0.001218, allocations: 191.9 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.75 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1777, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007928/0.1857, allocations: 4.363 MB / 0.6363 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006553/0.1923, allocations: 3.261 MB / 0.6395 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.1928, allocations: 11.94 kB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.1948, allocations: 0.5212 MB / 0.64 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1962, allocations: 393.2 kB / 0.6404 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.1971, allocations: 259.4 kB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.1979, allocations: 0.5917 MB / 0.6412 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.1987, allocations: 0.517 MB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.1992, allocations: 295.1 kB / 0.642 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.1996, allocations: 279 kB / 0.6423 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.1997, allocations: 36 kB / 0.6423 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.2002, allocations: 299.5 kB / 0.6426 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.2004, allocations: 159.6 kB / 0.6428 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2006, allocations: 230.9 kB / 0.643 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.2015, allocations: 0.7907 MB / 0.6438 GB, free: 8.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2015, allocations: 0 / 0.6438 GB, free: 8.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2015, allocations: 0 / 0.6438 GB, free: 8.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.2016, allocations: 0 / 0.6438 GB, free: 8.406 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.001313/0.2029, allocations: 0.7714 MB / 0.6445 GB, free: 7.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2029, allocations: 11.97 kB / 0.6445 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.2058, allocations: 0.6828 MB / 0.6452 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.2065, allocations: 447.8 kB / 0.6456 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2065, allocations: 29.02 kB / 0.6456 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.2066, allocations: 32.12 kB / 0.6457 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2082, allocations: 0.7864 MB / 0.6464 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.2082, allocations: 7.984 kB / 0.6464 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.2083, allocations: 15.98 kB / 0.6465 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.2084, allocations: 48.55 kB / 0.6465 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.2104, allocations: 0.8648 MB / 0.6474 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.2142, allocations: 2.8 MB / 0.6501 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2159, allocations: 0.5175 MB / 0.6506 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.2166, allocations: 256.6 kB / 0.6508 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2167, allocations: 89.09 kB / 0.6509 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2167, allocations: 30.56 kB / 0.651 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.2168, allocations: 0 / 0.651 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.012/0.2288, allocations: 3.064 MB / 0.6539 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2288, allocations: 63.34 kB / 0.654 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.2293, allocations: 401.5 kB / 0.6544 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.2294, allocations: 33.7 kB / 0.6544 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2295, allocations: 231.8 kB / 0.6546 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2296, allocations: 86.8 kB / 0.6547 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.2298, allocations: 69.67 kB / 0.6548 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2299, allocations: 342.8 kB / 0.6551 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.2309, allocations: 364.4 kB / 0.6555 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.2319, allocations: 433.6 kB / 0.6559 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.2338, allocations: 0.752 MB / 0.6566 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2338, allocations: 7.984 kB / 0.6566 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004981/0.2388, allocations: 1.488 MB / 0.6581 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2388, allocations: 12.19 kB / 0.6581 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2388, allocations: 4 kB / 0.6581 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.2423, allocations: 0.7701 MB / 0.6588 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.2429, allocations: 131.8 kB / 0.659 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006512/0.2495, allocations: 4.833 MB / 0.6637 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.2503, allocations: 111.8 kB / 0.6638 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.2504, allocations: 15.98 kB / 0.6638 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.2516, allocations: 0.531 MB / 0.6643 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009541/0.2525, allocations: 420 kB / 0.6647 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001852/0.2544, allocations: 0.7256 MB / 0.6654 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.2544, allocations: 7.938 kB / 0.6654 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004143/0.2586, allocations: 1.262 MB / 0.6667 GB, free: 24 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2586, allocations: 11.98 kB / 0.6667 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2586, allocations: 0 / 0.6667 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.2609, allocations: 0.4925 MB / 0.6672 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.2616, allocations: 143.8 kB / 0.6673 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.2651, allocations: 2.608 MB / 0.6699 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.2659, allocations: 111.9 kB / 0.67 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.2659, allocations: 11.98 kB / 0.67 GB, free: 12.5 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.0002489/0.2662, allocations: 200.1 kB / 0.6702 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2663, allocations: 39.62 kB / 0.6702 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/0.2708, allocations: 1.36 MB / 0.6715 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2708, allocations: 4 kB / 0.6715 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2708, allocations: 3.984 kB / 0.6715 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2708, allocations: 0 / 0.6715 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.2759, allocations: 1.994 MB / 0.6735 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2759, allocations: 0 / 0.6735 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.2763, allocations: 83.89 kB / 0.6736 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/0.2793, allocations: 0.7077 MB / 0.6743 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.2793, allocations: 11.94 kB / 0.6743 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/0.285, allocations: 4.671 MB / 0.6788 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.285, allocations: 3.938 kB / 0.6788 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.2892, allocations: 1.349 MB / 0.6802 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.2895, allocations: 168.7 kB / 0.6803 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.2896, allocations: 8 kB / 0.6803 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.2902, allocations: 83.86 kB / 0.6804 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.2903, allocations: 27.84 kB / 0.6804 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.2904, allocations: 15.98 kB / 0.6804 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005008/0.2909, allocations: 307.1 kB / 0.6807 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2909, allocations: 0 / 0.6807 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001006/0.2919, allocations: 200 kB / 0.6809 GB, free: 0.8594 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.0002618/0.2922, allocations: 103.2 kB / 0.681 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00381/0.296, allocations: 1.582 MB / 0.6826 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.296, allocations: 4 kB / 0.6826 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.2972, allocations: 0.6232 MB / 0.6832 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.2979, allocations: 126.9 kB / 0.6833 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.2998, allocations: 1.05 MB / 0.6843 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.3003, allocations: 0.9093 MB / 0.6852 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.3008, allocations: 163.2 kB / 0.6854 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3009, allocations: 35.42 kB / 0.6854 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.3009, allocations: 0 / 0.6854 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.01938/0.3203, allocations: 12.64 MB / 0.6977 GB, free: 15.57 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)