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.0009048/0.0009048, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009205/0.0009205, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9005/0.9005, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7695/0.7695, allocations: 154.9 MB / 415.1 MB, free: 268 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.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.814e-06/1.814e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.321e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002689/0.002702, allocations: 2.633 MB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004453, allocations: 1.467 MB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004559, allocations: 7.938 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.004924, allocations: 95.44 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.005231, allocations: 204.2 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.005865, allocations: 262 kB / 0.5257 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.006206, allocations: 422.5 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.006429, allocations: 173.6 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.006667, allocations: 227.5 kB / 0.5265 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.006911, allocations: 186.9 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.006941, allocations: 24 kB / 0.5267 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.007162, allocations: 175.6 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.007258, allocations: 127.7 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.007334, allocations: 107.7 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.007652, allocations: 354.8 kB / 0.5274 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.007653, allocations: 0 / 0.5274 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.007654, allocations: 0 / 0.5274 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.007657, allocations: 0.5625 kB / 0.5274 GB, free: 11.11 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006029/0.00826, allocations: 0.6216 MB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.008294, allocations: 8.906 kB / 0.528 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.008798, allocations: 149.9 kB / 0.5281 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.009017, allocations: 218.7 kB / 0.5284 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.009031, allocations: 17.91 kB / 0.5284 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.009103, allocations: 32.73 kB / 0.5284 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.009435, allocations: 398.8 kB / 0.5288 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.009447, allocations: 4.125 kB / 0.5288 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.009469, allocations: 11.94 kB / 0.5288 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.009543, allocations: 40.47 kB / 0.5288 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.009699, allocations: 134.6 kB / 0.529 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01084, allocations: 1.774 MB / 0.5307 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.011, allocations: 130.9 kB / 0.5308 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.01106, allocations: 56.97 kB / 0.5309 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.01108, allocations: 4 kB / 0.5309 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.0111, allocations: 38.48 kB / 0.5309 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.0111, allocations: 0 / 0.5309 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0006802/0.01178, allocations: 493.1 kB / 0.5314 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.0118, allocations: 60 kB / 0.5314 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.01196, allocations: 287.4 kB / 0.5317 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.01198, allocations: 29.7 kB / 0.5317 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.01207, allocations: 237.5 kB / 0.532 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.01211, allocations: 99.19 kB / 0.5321 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.0122, allocations: 83.27 kB / 0.5321 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003606/0.01256, allocations: 0.5001 MB / 0.5326 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01267, allocations: 47.95 kB / 0.5327 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.01285, allocations: 170.9 kB / 0.5328 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01305, allocations: 238.1 kB / 0.5331 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01305, allocations: 1.406 kB / 0.5331 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004624/0.01352, allocations: 362.7 kB / 0.5334 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01353, allocations: 8 kB / 0.5334 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01353, allocations: 4 kB / 0.5334 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.01405, allocations: 181.6 kB / 0.5336 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01419, allocations: 59.91 kB / 0.5337 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.01547, allocations: 2.13 MB / 0.5357 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01561, allocations: 20.58 kB / 0.5358 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01563, allocations: 12 kB / 0.5358 GB, free: 2.031 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: 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 8.951e-05/0.01572, allocations: 173.7 kB / 0.5359 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.01576, allocations: 31.86 kB / 0.536 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.01595, allocations: 188.3 kB / 0.5361 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.01595, allocations: 0 / 0.5361 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.01595, allocations: 4.531 kB / 0.5362 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01596, allocations: 4.516 kB / 0.5362 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.01639, allocations: 0.5147 MB / 0.5367 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01639, allocations: 0 / 0.5367 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.01657, allocations: 71.89 kB / 0.5367 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01657, allocations: 0.6875 kB / 0.5367 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01658, allocations: 4 kB / 0.5367 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01659, allocations: 4.625 kB / 0.5367 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.01659, allocations: 7.938 kB / 0.5367 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.01686, allocations: 395.2 kB / 0.5371 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.01692, allocations: 51.84 kB / 0.5372 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01694, allocations: 5.219 kB / 0.5372 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.01704, allocations: 4 kB / 0.5372 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.01706, allocations: 23.91 kB / 0.5372 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.01707, allocations: 4.938 kB / 0.5372 GB, free: 500 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.01715, allocations: 184 kB / 0.5374 GB, free: 316 kB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01716, allocations: 0.9062 kB / 0.5374 GB, free: 316 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002562/0.01741, allocations: 91.94 kB / 0.5375 GB, free: 224 kB / 0.4948 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.0001062/0.01752, allocations: 100.4 kB / 0.5376 GB, free: 116 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.01795, allocations: 427.6 kB / 0.538 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01795, allocations: 0 / 0.538 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.996e-05/0.01802, allocations: 80.83 kB / 0.5381 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01828, allocations: 64.06 kB / 0.5381 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.01921, allocations: 0.6927 MB / 0.5388 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.088e-05/0.01927, allocations: 112.8 kB / 0.5389 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.23e-05/0.01937, allocations: 36.66 kB / 0.5389 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.01949, allocations: 114.9 kB / 0.539 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.01949, allocations: 0 / 0.539 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.005763/0.02526, allocations: 4.448 MB / 0.5434 GB, free: 10.27 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4651309209875762]