Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007007/0.0007007, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007149/0.0007149, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8144/0.8144, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-531:190: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-531:198: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.7144/0.7144, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.579e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003221/0.003247, allocations: 3.193 MB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.005352, allocations: 1.963 MB / 0.6243 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005477, allocations: 11.94 kB / 0.6243 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.006077, allocations: 298.2 kB / 0.6246 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.00648, allocations: 234.7 kB / 0.6248 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.006939, allocations: 303 kB / 0.6251 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.007369, allocations: 414.6 kB / 0.6255 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.007641, allocations: 160.3 kB / 0.6257 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.007892, allocations: 231.4 kB / 0.6259 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.008137, allocations: 191.5 kB / 0.6261 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.008166, allocations: 24 kB / 0.6261 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.008443, allocations: 247.4 kB / 0.6263 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.008538, allocations: 123.7 kB / 0.6265 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.008618, allocations: 111.7 kB / 0.6266 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.009061, allocations: 0.5024 MB / 0.6271 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009064, allocations: 0 / 0.6271 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.824e-06/0.009066, allocations: 0 / 0.6271 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.009071, allocations: 0 / 0.6271 GB, free: 5.223 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007426/0.009814, allocations: 0.5361 MB / 0.6276 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.00985, allocations: 9.469 kB / 0.6276 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.01039, allocations: 128.5 kB / 0.6277 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.01065, allocations: 211 kB / 0.6279 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01067, allocations: 28.84 kB / 0.6279 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.01076, allocations: 40.64 kB / 0.628 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.01124, allocations: 0.5225 MB / 0.6285 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01126, allocations: 192 / 0.6285 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.01128, allocations: 15.94 kB / 0.6285 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.838e-05/0.01136, allocations: 36.47 kB / 0.6285 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.01174, allocations: 361.7 kB / 0.6289 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.0131, allocations: 1.586 MB / 0.6304 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.01337, allocations: 238.4 kB / 0.6307 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.0135, allocations: 144.8 kB / 0.6308 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.01352, allocations: 7.938 kB / 0.6308 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.01354, allocations: 34.56 kB / 0.6308 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.01354, allocations: 4 kB / 0.6308 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001169/0.01471, allocations: 0.9097 MB / 0.6317 GB, free: 220 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.01474, allocations: 59.34 kB / 0.6318 GB, free: 148 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.01494, allocations: 243.1 kB / 0.632 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01496, allocations: 33.7 kB / 0.632 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.01504, allocations: 192.3 kB / 0.6322 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.01508, allocations: 79.33 kB / 0.6323 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.01517, allocations: 81.62 kB / 0.6324 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.01528, allocations: 326.8 kB / 0.6327 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.01545, allocations: 163.9 kB / 0.6329 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.01564, allocations: 247 kB / 0.6331 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.01599, allocations: 407.4 kB / 0.6335 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01599, allocations: 0 / 0.6335 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006922/0.01669, allocations: 0.5938 MB / 0.6341 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.0167, allocations: 12.31 kB / 0.6341 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01671, allocations: 4 kB / 0.6341 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.01709, allocations: 184.7 kB / 0.6343 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.01726, allocations: 63.89 kB / 0.6343 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.01902, allocations: 2.364 MB / 0.6366 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.0192, allocations: 23.97 kB / 0.6366 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.01921, allocations: 12 kB / 0.6367 GB, free: 10.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.01934, allocations: 166.7 kB / 0.6368 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01938, allocations: 23.86 kB / 0.6368 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.01972, allocations: 355.3 kB / 0.6372 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01972, allocations: 4 kB / 0.6372 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01972, allocations: 7.922 kB / 0.6372 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01973, allocations: 112 / 0.6372 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.02038, allocations: 0.7026 MB / 0.6379 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.02038, allocations: 0 / 0.6379 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.02057, allocations: 71.88 kB / 0.6379 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02058, allocations: 4 kB / 0.6379 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.0206, allocations: 11.94 kB / 0.638 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.0206, allocations: 4.062 kB / 0.638 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.0206, allocations: 0 / 0.638 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.02108, allocations: 0.6143 MB / 0.6386 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.02116, allocations: 51.86 kB / 0.6386 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.02118, allocations: 11.95 kB / 0.6386 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.02129, allocations: 11.98 kB / 0.6386 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.02131, allocations: 15.97 kB / 0.6386 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.02132, allocations: 8 kB / 0.6387 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001224/0.02144, allocations: 180.1 kB / 0.6388 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02144, allocations: 4 kB / 0.6388 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002697/0.02171, allocations: 88 kB / 0.6389 GB, free: 8.543 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001394/0.02185, allocations: 107.1 kB / 0.639 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.0225, allocations: 0.5098 MB / 0.6395 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.0225, allocations: 0 / 0.6395 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.02262, allocations: 146.6 kB / 0.6397 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.02291, allocations: 60.06 kB / 0.6397 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.02382, allocations: 0.7727 MB / 0.6405 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.02394, allocations: 193.8 kB / 0.6407 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.02402, allocations: 24.5 kB / 0.6407 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.02402, allocations: 3.938 kB / 0.6407 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of Templates: time 0.004479/0.0285, allocations: 4.654 MB / 0.6452 GB, free: 2.023 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420185158029199] Failed to read output from testmodel.py, exit status != 0: 0.03387373313307762 0.040968179 0.030406754 Calling exit ...