Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001404/0.001404, allocations: 93.06 kB / 19.65 MB, free: 280 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.001415/0.001415, allocations: 165 kB / 23.02 MB, free: 1.555 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.819/0.819, allocations: 154.6 MB / 414.5 MB, free: 0.6914 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5203 GB, free: 1.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.345e-05, allocations: 10.42 kB / 0.5203 GB, free: 1.133 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006591/0.006624, allocations: 4.08 MB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.008998, allocations: 1.52 MB / 0.5258 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.009194, allocations: 36.25 kB / 0.5258 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.009707, allocations: 167.8 kB / 0.526 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.01016, allocations: 362.1 kB / 0.5263 GB, free: 10.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.01055, allocations: 328.3 kB / 0.5267 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.01131, allocations: 0.9825 MB / 0.5276 GB, free: 9.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.01174, allocations: 379.2 kB / 0.528 GB, free: 9.305 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.01219, allocations: 0.5195 MB / 0.5285 GB, free: 8.785 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.01255, allocations: 367 kB / 0.5288 GB, free: 8.426 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.01261, allocations: 48 kB / 0.5289 GB, free: 8.379 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01279, allocations: 133 kB / 0.529 GB, free: 8.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.01297, allocations: 267.2 kB / 0.5293 GB, free: 7.988 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.01314, allocations: 235.4 kB / 0.5295 GB, free: 7.758 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.01364, allocations: 0.604 MB / 0.5301 GB, free: 7.152 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01365, allocations: 0 / 0.5301 GB, free: 7.152 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01365, allocations: 0.5938 kB / 0.5301 GB, free: 7.152 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.01366, allocations: 2.781 kB / 0.5301 GB, free: 7.152 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009916/0.01465, allocations: 0.9898 MB / 0.531 GB, free: 6.125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01468, allocations: 8.031 kB / 0.5311 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/0.01551, allocations: 286.9 kB / 0.5313 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.01602, allocations: 480.8 kB / 0.5318 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01605, allocations: 41.36 kB / 0.5318 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01616, allocations: 52.52 kB / 0.5319 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.01682, allocations: 0.7943 MB / 0.5326 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.01685, allocations: 8.125 kB / 0.5327 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.01689, allocations: 28.11 kB / 0.5327 GB, free: 4.285 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.017, allocations: 64.95 kB / 0.5327 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.01738, allocations: 275.9 kB / 0.533 GB, free: 3.957 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.01993, allocations: 4.413 MB / 0.5373 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.02016, allocations: 144.6 kB / 0.5375 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.02029, allocations: 100.2 kB / 0.5376 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.02031, allocations: 9.719 kB / 0.5376 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.02034, allocations: 41.67 kB / 0.5376 GB, free: 15.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.02034, allocations: 0 / 0.5376 GB, free: 15.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.002564/0.0229, allocations: 1.554 MB / 0.5391 GB, free: 13.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.02293, allocations: 55.41 kB / 0.5392 GB, free: 13.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.02322, allocations: 459.2 kB / 0.5396 GB, free: 12.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.02325, allocations: 29.7 kB / 0.5396 GB, free: 12.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.02346, allocations: 404.4 kB / 0.54 GB, free: 12.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.02356, allocations: 154.7 kB / 0.5402 GB, free: 12.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.02367, allocations: 111.9 kB / 0.5403 GB, free: 12.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.0238, allocations: 0.5326 MB / 0.5408 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.02395, allocations: 101.2 kB / 0.5409 GB, free: 11.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.0242, allocations: 343.3 kB / 0.5412 GB, free: 11.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.02495, allocations: 489.9 kB / 0.5417 GB, free: 10.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02495, allocations: 4 kB / 0.5417 GB, free: 10.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008183/0.02577, allocations: 0.6278 MB / 0.5423 GB, free: 9.945 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.02579, allocations: 8 kB / 0.5423 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.0258, allocations: 5.406 kB / 0.5423 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.02637, allocations: 234.7 kB / 0.5425 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.02665, allocations: 115.8 kB / 0.5427 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.02948, allocations: 5.636 MB / 0.5482 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.02967, allocations: 32.16 kB / 0.5482 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.0297, allocations: 27.94 kB / 0.5482 GB, free: 3.535 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.02988, allocations: 193.8 kB / 0.5484 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.02994, allocations: 63.67 kB / 0.5485 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.03063, allocations: 500 kB / 0.5489 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03063, allocations: 4 kB / 0.5489 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.03063, allocations: 7.938 kB / 0.5489 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03064, allocations: 4.484 kB / 0.549 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.03179, allocations: 1.065 MB / 0.55 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.03179, allocations: 4 kB / 0.55 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.03197, allocations: 59.95 kB / 0.5501 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.03247, allocations: 223.2 kB / 0.5503 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.03248, allocations: 8 kB / 0.5503 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.03527, allocations: 5.645 MB / 0.5558 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.03527, allocations: 0 / 0.5558 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/0.03609, allocations: 0.7455 MB / 0.5565 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.0362, allocations: 91.62 kB / 0.5566 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.03624, allocations: 15.94 kB / 0.5566 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.0364, allocations: 27.95 kB / 0.5566 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.03645, allocations: 31.94 kB / 0.5567 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.03647, allocations: 12 kB / 0.5567 GB, free: 10.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.03665, allocations: 291.9 kB / 0.557 GB, free: 10.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03665, allocations: 0 / 0.557 GB, free: 10.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.03707, allocations: 173.3 kB / 0.5571 GB, free: 9.879 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.0372, allocations: 105.2 kB / 0.5572 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.03807, allocations: 0.9215 MB / 0.5581 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.03807, allocations: 1.094 kB / 0.5581 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.03856, allocations: 0.7363 MB / 0.5588 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.03904, allocations: 184.7 kB / 0.559 GB, free: 7.844 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.0404, allocations: 1.143 MB / 0.5601 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.04051, allocations: 185.5 kB / 0.5603 GB, free: 6.477 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.04068, allocations: 96.75 kB / 0.5604 GB, free: 6.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.04074, allocations: 36.5 kB / 0.5604 GB, free: 6.344 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04074, allocations: 4 kB / 0.5604 GB, free: 6.34 MB / 490.7 MB Notification: Performance of Templates: time 0.01055/0.0513, allocations: 9.163 MB / 0.5694 GB, free: 13.42 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.016641422174871]