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.00136/0.00136, allocations: 88.72 kB / 19.44 MB, free: 356 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.001498/0.001498, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.215/1.215, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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.292e-06/1.292e-06, allocations: 0 / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.558e-05, allocations: 3.188 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004055/0.004081, allocations: 2.289 MB / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005685, allocations: 0.8122 MB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.005773, allocations: 7.938 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.006395, allocations: 144.8 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.006601, allocations: 68.33 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.006802, allocations: 64.77 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.007071, allocations: 167.3 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.007309, allocations: 81.17 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.007521, allocations: 102.6 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.007678, allocations: 59.8 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.007707, allocations: 12 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.007829, allocations: 51.89 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.007899, allocations: 39.84 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.007986, allocations: 51.83 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.008291, allocations: 175.5 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008294, allocations: 4.625 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008296, allocations: 0 / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.0083, allocations: 1.219 kB / 0.5238 GB, free: 14.23 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.0007782/0.009078, allocations: 421.2 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.009113, allocations: 9 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.009472, allocations: 56.81 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.009743, allocations: 160.6 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.009827, allocations: 65.16 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.009865, allocations: 12.38 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.01022, allocations: 181.1 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01023, allocations: 4.875 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01025, allocations: 8 kB / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.01028, allocations: 9.156 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.01052, allocations: 113.7 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.01145, allocations: 0.5605 MB / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.01173, allocations: 88.19 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01183, allocations: 54.61 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.01185, allocations: 0 / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.01212, allocations: 174 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01212, allocations: 0 / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004889/0.01261, allocations: 228.1 kB / 0.5259 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.01271, allocations: 132.5 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.01296, allocations: 186.9 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.013, allocations: 29.7 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01315, allocations: 140.3 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.01319, allocations: 20.58 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.01326, allocations: 41.7 kB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.01345, allocations: 324.2 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.0136, allocations: 95.38 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.01382, allocations: 164.8 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.01416, allocations: 238 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.01417, allocations: 6.734 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004889/0.01466, allocations: 304.2 kB / 0.5275 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.01472, allocations: 65.16 kB / 0.5276 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.01473, allocations: 4 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.01476, allocations: 4 kB / 0.5276 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.0149, allocations: 35.86 kB / 0.5276 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01491, allocations: 4.922 kB / 0.5276 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.01508, allocations: 28.66 kB / 0.5276 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.0151, allocations: 8 kB / 0.5276 GB, free: 9.902 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.0001709/0.01527, allocations: 169.8 kB / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.01531, allocations: 19.95 kB / 0.5278 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.01535, allocations: 13.45 kB / 0.5278 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01535, allocations: 7.938 kB / 0.5278 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01535, allocations: 3.938 kB / 0.5278 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01536, allocations: 0 / 0.5278 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.01554, allocations: 146.2 kB / 0.528 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01554, allocations: 0 / 0.528 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.948e-05/0.01563, allocations: 16.64 kB / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01563, allocations: 0 / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01564, allocations: 0.5938 kB / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01565, allocations: 2.969 kB / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01565, allocations: 0 / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.01619, allocations: 294.2 kB / 0.5283 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.01622, allocations: 11.94 kB / 0.5283 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01625, allocations: 4.094 kB / 0.5283 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.01635, allocations: 11.98 kB / 0.5283 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.01642, allocations: 23.03 kB / 0.5283 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01643, allocations: 0 / 0.5283 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001351/0.01657, allocations: 136.8 kB / 0.5285 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01657, allocations: 0 / 0.5285 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002758/0.01684, allocations: 27.94 kB / 0.5285 GB, free: 8.961 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.000137/0.01698, allocations: 113.3 kB / 0.5286 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.01742, allocations: 293.4 kB / 0.5289 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01742, allocations: 0 / 0.5289 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.01758, allocations: 128.1 kB / 0.529 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01784, allocations: 19.92 kB / 0.529 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.01852, allocations: 318.8 kB / 0.5293 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01863, allocations: 102 kB / 0.5294 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.124e-05/0.0187, allocations: 16.62 kB / 0.5294 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.01876, allocations: 23.16 kB / 0.5295 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01876, allocations: 0 / 0.5295 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.004992/0.02375, allocations: 1.472 MB / 0.5309 GB, free: 6.461 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.72333390195854]