Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.281/1.281, allocations: 154.6 MB / 414.1 MB, free: 0.5703 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.706e-05, allocations: 3 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004589/0.004616, allocations: 2.281 MB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.006331, allocations: 0.8193 MB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.006451, allocations: 4 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.007111, allocations: 139.4 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.007347, allocations: 71.53 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.007572, allocations: 72.22 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.007873, allocations: 160 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.008116, allocations: 81.16 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.008359, allocations: 104.5 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.00853, allocations: 60.3 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.008562, allocations: 12 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.008695, allocations: 53.39 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.008764, allocations: 35.89 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.008863, allocations: 47.84 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.009192, allocations: 183.4 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.009196, allocations: 0.9375 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.009197, allocations: 7.875 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.009203, allocations: 1.406 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008692/0.01007, allocations: 421.2 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01011, allocations: 8.031 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.01049, allocations: 57.97 kB / 0.5241 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.01078, allocations: 156.3 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.01087, allocations: 64.14 kB / 0.5243 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.01091, allocations: 13.66 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.01127, allocations: 177.8 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01127, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.01129, allocations: 9.344 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.01132, allocations: 7.984 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.01156, allocations: 109.6 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.01251, allocations: 0.5684 MB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.01279, allocations: 76.27 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.0129, allocations: 54.61 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.01291, allocations: 9.922 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.01319, allocations: 180.4 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.01319, allocations: 0 / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000504/0.01369, allocations: 219.1 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.0138, allocations: 137.9 kB / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01402, allocations: 182.9 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.01405, allocations: 29.7 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01416, allocations: 135.7 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.0142, allocations: 33.08 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.01428, allocations: 41.7 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.01445, allocations: 322.8 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.01461, allocations: 99.88 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.01482, allocations: 170.7 kB / 0.5267 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01514, allocations: 234.9 kB / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01514, allocations: 0 / 0.527 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006951/0.01584, allocations: 314.5 kB / 0.5273 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.0159, allocations: 67.39 kB / 0.5273 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01591, allocations: 6.438 kB / 0.5273 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.01594, allocations: 4 kB / 0.5273 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01606, allocations: 27.92 kB / 0.5274 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.01607, allocations: 7.938 kB / 0.5274 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.01622, allocations: 27.83 kB / 0.5274 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.01624, allocations: 13.03 kB / 0.5274 GB, free: 10.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.0164, allocations: 163.5 kB / 0.5276 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.01643, allocations: 12.89 kB / 0.5276 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.01647, allocations: 17.45 kB / 0.5276 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01647, allocations: 0 / 0.5276 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.01648, allocations: 6.938 kB / 0.5276 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01648, allocations: 4 kB / 0.5276 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.01666, allocations: 141.3 kB / 0.5277 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01666, allocations: 0 / 0.5277 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.01675, allocations: 11.98 kB / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01675, allocations: 0 / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.01677, allocations: 8 kB / 0.5278 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01677, allocations: 0 / 0.5278 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01677, allocations: 2.75 kB / 0.5278 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.01727, allocations: 278 kB / 0.528 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.0173, allocations: 15.92 kB / 0.528 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.01733, allocations: 8 kB / 0.528 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.01743, allocations: 11.94 kB / 0.5281 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.01751, allocations: 12.45 kB / 0.5281 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01752, allocations: 5.562 kB / 0.5281 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001412/0.01766, allocations: 137.3 kB / 0.5282 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01766, allocations: 0 / 0.5282 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000264/0.01793, allocations: 31.94 kB / 0.5282 GB, free: 9.191 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.01806, allocations: 103.7 kB / 0.5283 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.0185, allocations: 297.2 kB / 0.5286 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0185, allocations: 0 / 0.5286 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.01867, allocations: 126.2 kB / 0.5287 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01894, allocations: 34.11 kB / 0.5288 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.01964, allocations: 318.7 kB / 0.5291 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.01976, allocations: 96.8 kB / 0.5292 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.571e-05/0.01984, allocations: 26.64 kB / 0.5292 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.01988, allocations: 15.06 kB / 0.5292 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01988, allocations: 4 kB / 0.5292 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of Templates: time 0.005004/0.02489, allocations: 1.47 MB / 0.5306 GB, free: 6.703 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.963668514974415]