Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0007294/0.0007294, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001835, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007622/0.0007622, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008727/0.001635, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09939/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.7587/0.7587, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2872/1.046, allocations: 49.04 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.436e-05, allocations: 2.312 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005384/0.005408, allocations: 3.847 MB / 453 MB, free: 1.508 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.008466, allocations: 1.44 MB / 454.4 MB, free: 76 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.008846, allocations: 31.62 kB / 454.5 MB, free: 44 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.00948, allocations: 184.9 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.01024, allocations: 383.2 kB / 455 MB, free: 15.49 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.01089, allocations: 319.4 kB / 455.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.01206, allocations: 0.9734 MB / 456.3 MB, free: 14.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.01258, allocations: 307.4 kB / 456.6 MB, free: 13.9 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.01321, allocations: 0.52 MB / 457.1 MB, free: 13.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.01362, allocations: 340.6 kB / 457.5 MB, free: 13.05 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.01367, allocations: 36.75 kB / 457.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.01387, allocations: 107.8 kB / 457.6 MB, free: 12.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.01399, allocations: 172 kB / 457.8 MB, free: 12.74 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01412, allocations: 176.2 kB / 457.9 MB, free: 12.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.01457, allocations: 482.1 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.01458, allocations: 0.625 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.01458, allocations: 3.938 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.0146, allocations: 0.5625 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009008/0.0155, allocations: 0.9409 MB / 459.4 MB, free: 11.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.01553, allocations: 12.03 kB / 459.4 MB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.0161, allocations: 273.6 kB / 459.6 MB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.01661, allocations: 472.6 kB / 460.1 MB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.01664, allocations: 33.36 kB / 460.1 MB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.0167, allocations: 56.34 kB / 460.2 MB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.01728, allocations: 0.7194 MB / 460.9 MB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.0173, allocations: 9.625 kB / 460.9 MB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.01734, allocations: 20.38 kB / 460.9 MB, free: 9.359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/0.01742, allocations: 64.89 kB / 461 MB, free: 9.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.01768, allocations: 240.2 kB / 461.2 MB, free: 9.066 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.02023, allocations: 4.17 MB / 465.4 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.02053, allocations: 286.6 kB / 465.7 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.0206, allocations: 60.84 kB / 465.7 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.02063, allocations: 5.641 kB / 465.7 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.02066, allocations: 40.31 kB / 465.8 MB, free: 4.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/0.02066, allocations: 0 / 465.8 MB, free: 4.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001021/0.02168, allocations: 0.4978 MB / 466.3 MB, free: 3.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.02172, allocations: 55.69 kB / 466.3 MB, free: 3.754 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.02198, allocations: 450.8 kB / 466.8 MB, free: 3.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.022, allocations: 29.7 kB / 466.8 MB, free: 3.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.02214, allocations: 329.2 kB / 467.1 MB, free: 2.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.02221, allocations: 123.6 kB / 467.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.02229, allocations: 102.2 kB / 467.3 MB, free: 2.711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.02239, allocations: 367.2 kB / 467.7 MB, free: 2.344 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.02246, allocations: 61.28 kB / 467.8 MB, free: 2.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.02264, allocations: 321.1 kB / 468.1 MB, free: 1.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.02298, allocations: 466.5 kB / 468.5 MB, free: 1.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.02298, allocations: 4.781 kB / 468.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005218/0.0235, allocations: 494.7 kB / 469 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.02353, allocations: 8 kB / 469 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.02354, allocations: 11.98 kB / 469 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.02382, allocations: 125.8 kB / 469.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.02409, allocations: 127.8 kB / 469.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.02603, allocations: 3.59 MB / 472.9 MB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.02621, allocations: 16 kB / 472.9 MB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.02623, allocations: 24.78 kB / 472.9 MB, free: 12.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.02636, allocations: 166 kB / 473.1 MB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.02641, allocations: 44.92 kB / 473.1 MB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.02677, allocations: 316.9 kB / 473.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02677, allocations: 4.562 kB / 473.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.02678, allocations: 0.8125 kB / 473.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02678, allocations: 0 / 473.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.02749, allocations: 0.6789 MB / 474.1 MB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02749, allocations: 5.188 kB / 474.1 MB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.02762, allocations: 55.91 kB / 474.2 MB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.0277, allocations: 63.64 kB / 474.2 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.0279, allocations: 118.4 kB / 474.4 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.02791, allocations: 9.438 kB / 474.4 MB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.02948, allocations: 3.592 MB / 478 MB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02948, allocations: 4 kB / 478 MB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.02984, allocations: 470.6 kB / 478.4 MB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.02988, allocations: 8 kB / 478.4 MB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.03, allocations: 4 kB / 478.4 MB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.03005, allocations: 43.8 kB / 478.5 MB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.03007, allocations: 12 kB / 478.5 MB, free: 6.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.03019, allocations: 185.6 kB / 478.7 MB, free: 6.395 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03019, allocations: 0 / 478.7 MB, free: 6.395 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.0306, allocations: 143.9 kB / 478.8 MB, free: 6.254 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.03072, allocations: 92.89 kB / 478.9 MB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.0313, allocations: 0.6393 MB / 479.5 MB, free: 5.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/0.03132, allocations: 18.19 kB / 479.6 MB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.03165, allocations: 489.1 kB / 480 MB, free: 4.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/0.03262, allocations: 1.812 MB / 481.8 MB, free: 2.781 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.0348, allocations: 0.9903 MB / 482.8 MB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.03491, allocations: 151 kB / 483 MB, free: 1.574 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.03512, allocations: 68.22 kB / 483.1 MB, free: 1.523 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.03538, allocations: 181.2 kB / 483.2 MB, free: 1.344 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03538, allocations: 0 / 483.2 MB, free: 1.344 MB / 458.7 MB Notification: Performance of Templates: time 0.01113/0.04651, allocations: 8.569 MB / 491.8 MB, free: 9.266 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.677707622759044]