Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009691/0.0009691, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001107/0.001107, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9603/0.9603, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.769/0.769, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5218 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.33e-05, allocations: 3.156 kB / 0.5218 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003211/0.003234, allocations: 2.094 MB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.004249, allocations: 0.684 MB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.004371, allocations: 4.625 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.004805, allocations: 104.6 kB / 0.5247 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.004985, allocations: 68.25 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.005162, allocations: 69.34 kB / 0.5248 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.005382, allocations: 167.4 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.005565, allocations: 77.17 kB / 0.525 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.005755, allocations: 103.7 kB / 0.5251 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.005917, allocations: 61.33 kB / 0.5252 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.00594, allocations: 12 kB / 0.5252 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.006042, allocations: 55.83 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.006097, allocations: 39.89 kB / 0.5253 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.006152, allocations: 48.59 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006367, allocations: 127.6 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.006371, allocations: 1.125 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.006372, allocations: 4 kB / 0.5255 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.006376, allocations: 0 / 0.5255 GB, free: 13.92 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.0005031/0.006879, allocations: 0.5162 MB / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.00691, allocations: 8.031 kB / 0.526 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.007124, allocations: 51.2 kB / 0.526 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.007311, allocations: 161.5 kB / 0.5262 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.007363, allocations: 60.16 kB / 0.5262 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.007383, allocations: 8.375 kB / 0.5262 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.007566, allocations: 180.2 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007576, allocations: 1.625 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.007587, allocations: 4 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.007604, allocations: 4 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.007666, allocations: 61.61 kB / 0.5265 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.008227, allocations: 0.6931 MB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.008365, allocations: 72.75 kB / 0.5272 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.008396, allocations: 46.58 kB / 0.5273 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.008406, allocations: 0 / 0.5273 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.008545, allocations: 170.8 kB / 0.5274 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.008546, allocations: 0 / 0.5274 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002098/0.008755, allocations: 187.8 kB / 0.5276 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.008806, allocations: 136.5 kB / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.008923, allocations: 233.8 kB / 0.528 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008937, allocations: 27.27 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.009007, allocations: 186.5 kB / 0.5282 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.868e-05/0.009026, allocations: 23.78 kB / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.009074, allocations: 55.3 kB / 0.5282 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.009187, allocations: 0.4933 MB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.00923, allocations: 67.39 kB / 0.5288 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.009313, allocations: 179.8 kB / 0.529 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.009434, allocations: 222.9 kB / 0.5292 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009437, allocations: 0 / 0.5292 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004695/0.009906, allocations: 271.1 kB / 0.5294 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.009941, allocations: 59.41 kB / 0.5295 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009946, allocations: 0 / 0.5295 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.009959, allocations: 7.984 kB / 0.5295 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.01004, allocations: 35.88 kB / 0.5295 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01005, allocations: 7.984 kB / 0.5295 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.01011, allocations: 25.34 kB / 0.5296 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01012, allocations: 4 kB / 0.5296 GB, free: 9.223 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 8.793e-05/0.01021, allocations: 202.2 kB / 0.5298 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01023, allocations: 19.11 kB / 0.5298 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.01025, allocations: 13.47 kB / 0.5298 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01025, allocations: 0 / 0.5298 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01026, allocations: 3.938 kB / 0.5298 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01026, allocations: 3.984 kB / 0.5298 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.572e-05/0.01035, allocations: 137.2 kB / 0.5299 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01035, allocations: 0 / 0.5299 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.01039, allocations: 11.94 kB / 0.5299 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01039, allocations: 2.438 kB / 0.5299 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.0104, allocations: 0 / 0.5299 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.0104, allocations: 4 kB / 0.5299 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0104, allocations: 0 / 0.5299 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.01061, allocations: 249.7 kB / 0.5302 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.01063, allocations: 8 kB / 0.5302 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01065, allocations: 8 kB / 0.5302 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.01069, allocations: 13.12 kB / 0.5302 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.01072, allocations: 4 kB / 0.5302 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.01073, allocations: 4.875 kB / 0.5302 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.01079, allocations: 169.2 kB / 0.5304 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 0.5304 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001586/0.01095, allocations: 37.09 kB / 0.5304 GB, free: 8.277 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 8.153e-05/0.01103, allocations: 99.19 kB / 0.5305 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.01121, allocations: 273.3 kB / 0.5308 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01122, allocations: 6.438 kB / 0.5308 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.01127, allocations: 112.8 kB / 0.5309 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.01144, allocations: 19.7 kB / 0.5309 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.01197, allocations: 310.4 kB / 0.5312 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.01201, allocations: 71.33 kB / 0.5313 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01205, allocations: 11.28 kB / 0.5313 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.01213, allocations: 94.19 kB / 0.5314 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.01213, allocations: 0.5312 kB / 0.5314 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of Templates: time 0.003867/0.016, allocations: 1.617 MB / 0.5329 GB, free: 5.648 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8707400979474187]