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.001924/0.001924, 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.001564/0.001564, 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.665/1.665, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.245/1.245, allocations: 154.8 MB / 414.3 MB, free: 456 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.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.723e-06/1.723e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.852e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005616/0.005645, allocations: 3.202 MB / 0.523 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.00955, allocations: 1.973 MB / 0.5249 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.009711, allocations: 7.938 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01077, allocations: 291.4 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.0114, allocations: 245.4 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.01217, allocations: 295 kB / 0.5257 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.01272, allocations: 418.4 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.01307, allocations: 168.2 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.01345, allocations: 223.5 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.01384, allocations: 187.5 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.01389, allocations: 24.53 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.01435, allocations: 255.8 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.01452, allocations: 127.7 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.01469, allocations: 104.7 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.01541, allocations: 0.5024 MB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01541, allocations: 0 / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.083e-06/0.01542, allocations: 1.625 kB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.01542, allocations: 0 / 0.5276 GB, free: 10.35 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.001197/0.01662, allocations: 0.5331 MB / 0.5281 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01666, allocations: 9.438 kB / 0.5282 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.01775, allocations: 169.6 kB / 0.5283 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.01818, allocations: 223.6 kB / 0.5285 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.0182, allocations: 14.16 kB / 0.5285 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.01834, allocations: 44.66 kB / 0.5286 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.01953, allocations: 0.5147 MB / 0.5291 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.01954, allocations: 7.312 kB / 0.5291 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.01959, allocations: 11.94 kB / 0.5291 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.01975, allocations: 40.47 kB / 0.5291 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.02047, allocations: 361.7 kB / 0.5295 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.02321, allocations: 1.601 MB / 0.5311 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.02372, allocations: 243.7 kB / 0.5313 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.02398, allocations: 149.3 kB / 0.5314 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.024, allocations: 0 / 0.5314 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.02404, allocations: 39.06 kB / 0.5315 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.02404, allocations: 1.969 kB / 0.5315 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002087/0.02613, allocations: 0.9035 MB / 0.5324 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.02619, allocations: 59.34 kB / 0.5324 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.02657, allocations: 242.7 kB / 0.5326 GB, free: 5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.0266, allocations: 33.7 kB / 0.5327 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.02677, allocations: 186.6 kB / 0.5329 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.02687, allocations: 95.2 kB / 0.5329 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.02702, allocations: 81.62 kB / 0.533 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.02722, allocations: 330.8 kB / 0.5333 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.02756, allocations: 159.9 kB / 0.5335 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.02797, allocations: 244 kB / 0.5337 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.02865, allocations: 407.3 kB / 0.5341 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.02866, allocations: 4 kB / 0.5341 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001398/0.03006, allocations: 0.6139 MB / 0.5347 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.03007, allocations: 8 kB / 0.5347 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.03009, allocations: 4 kB / 0.5347 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.03141, allocations: 245.3 kB / 0.535 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.03175, allocations: 64.83 kB / 0.535 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.03553, allocations: 2.358 MB / 0.5373 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.03594, allocations: 25.53 kB / 0.5373 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.036, allocations: 12.05 kB / 0.5374 GB, free: 15.98 MB / 0.5105 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.0002252/0.03623, allocations: 163.2 kB / 0.5375 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.03632, allocations: 31.86 kB / 0.5375 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.03699, allocations: 359.1 kB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.03699, allocations: 5.438 kB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03699, allocations: 3.938 kB / 0.5379 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.037, allocations: 4.094 kB / 0.5379 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.03827, allocations: 0.7144 MB / 0.5386 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03828, allocations: 0 / 0.5386 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.03871, allocations: 75.88 kB / 0.5387 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.03871, allocations: 0.875 kB / 0.5387 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.03874, allocations: 11.94 kB / 0.5387 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.03874, allocations: 1.281 kB / 0.5387 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03874, allocations: 0 / 0.5387 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.03968, allocations: 0.6191 MB / 0.5393 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.03982, allocations: 59.81 kB / 0.5393 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.03986, allocations: 9.469 kB / 0.5394 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.04012, allocations: 15.98 kB / 0.5394 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.04016, allocations: 11.97 kB / 0.5394 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.04019, allocations: 4.562 kB / 0.5394 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002591/0.04045, allocations: 186.6 kB / 0.5396 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04045, allocations: 0 / 0.5396 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004513/0.0409, allocations: 88 kB / 0.5396 GB, free: 13.57 MB / 0.5105 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.0001903/0.04109, allocations: 103.2 kB / 0.5397 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.04217, allocations: 0.5168 MB / 0.5402 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.04218, allocations: 4 kB / 0.5403 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.04241, allocations: 139.8 kB / 0.5404 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.04289, allocations: 65.95 kB / 0.5404 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.04448, allocations: 0.7521 MB / 0.5412 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.04472, allocations: 184.5 kB / 0.5414 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.04495, allocations: 72.73 kB / 0.5414 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.04505, allocations: 20.5 kB / 0.5414 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.04505, allocations: 4 kB / 0.5415 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.009692/0.05474, allocations: 4.189 MB / 0.5455 GB, free: 7.645 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.064788571093231]