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.0009457/0.0009457, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002448, allocations: 435.8 kB / 10.33 MB, free: 368 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.001126/0.001126, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002644, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09658/1.064, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7871/0.7871, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2682/1.055, allocations: 49.04 MB / 447.6 MB, free: 6.68 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 2.305e-06/2.305e-06, allocations: 0 / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.579e-05, allocations: 2.312 kB / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005728/0.005753, allocations: 3.837 MB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.008935, allocations: 1.44 MB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.009359, allocations: 35.62 kB / 454.2 MB, free: 148 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.009988, allocations: 182.8 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.01059, allocations: 383.4 kB / 454.7 MB, free: 15.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.01116, allocations: 309.1 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01217, allocations: 0.9773 MB / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.01268, allocations: 315.7 kB / 456.3 MB, free: 14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.0134, allocations: 0.5104 MB / 456.8 MB, free: 13.49 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.0139, allocations: 341.5 kB / 457.2 MB, free: 13.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.01395, allocations: 36.91 kB / 457.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.01421, allocations: 111.7 kB / 457.3 MB, free: 13.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.01435, allocations: 167.4 kB / 457.5 MB, free: 12.85 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.01451, allocations: 172.3 kB / 457.7 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.01508, allocations: 486.1 kB / 458.1 MB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.107e-05/0.0151, allocations: 0.625 kB / 458.1 MB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.0151, allocations: 4.969 kB / 458.1 MB, free: 12.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.01513, allocations: 0 / 458.1 MB, free: 12.2 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.001028/0.01616, allocations: 0.9356 MB / 459.1 MB, free: 11.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01619, allocations: 13.06 kB / 459.1 MB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.01682, allocations: 273.6 kB / 459.3 MB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.01736, allocations: 476 kB / 459.8 MB, free: 10.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.01739, allocations: 38.02 kB / 459.8 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.01744, allocations: 44.98 kB / 459.9 MB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.01799, allocations: 0.7272 MB / 460.6 MB, free: 9.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.01801, allocations: 8.75 kB / 460.6 MB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.01804, allocations: 24.98 kB / 460.7 MB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.931e-05/0.01811, allocations: 75.94 kB / 460.7 MB, free: 9.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.01835, allocations: 231.5 kB / 461 MB, free: 9.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.02071, allocations: 4.168 MB / 465.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.02099, allocations: 282.5 kB / 465.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.02107, allocations: 66.52 kB / 465.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.0211, allocations: 13.8 kB / 465.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.02112, allocations: 34.56 kB / 465.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.02112, allocations: 0 / 465.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001016/0.02214, allocations: 0.499 MB / 466 MB, free: 3.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.02217, allocations: 55.69 kB / 466.1 MB, free: 3.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.02244, allocations: 446.9 kB / 466.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.02246, allocations: 33.7 kB / 466.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.02259, allocations: 321.2 kB / 466.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.02266, allocations: 124.1 kB / 467 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.795e-05/0.02275, allocations: 106.2 kB / 467.1 MB, free: 2.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.02285, allocations: 366.6 kB / 467.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.02292, allocations: 62.28 kB / 467.5 MB, free: 2.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.0231, allocations: 315.3 kB / 467.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.02342, allocations: 446.8 kB / 468.2 MB, free: 1.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02343, allocations: 4 kB / 468.2 MB, free: 1.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004943/0.02392, allocations: 491.4 kB / 468.7 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.02394, allocations: 8 kB / 468.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.02396, allocations: 11.98 kB / 468.7 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.02422, allocations: 121.4 kB / 468.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.02447, allocations: 127.8 kB / 469 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.0267, allocations: 3.594 MB / 472.6 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.0269, allocations: 18.86 kB / 472.6 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.02692, allocations: 24 kB / 472.6 MB, free: 12.74 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.0001608/0.02708, allocations: 166.4 kB / 472.8 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.02713, allocations: 43.95 kB / 472.8 MB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.02749, allocations: 321.6 kB / 473.1 MB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.0275, allocations: 4 kB / 473.1 MB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0275, allocations: 0.7188 kB / 473.1 MB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0275, allocations: 0 / 473.1 MB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.02821, allocations: 0.6753 MB / 473.8 MB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.02821, allocations: 7.938 kB / 473.8 MB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.02834, allocations: 48.88 kB / 473.9 MB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/0.02842, allocations: 67.64 kB / 473.9 MB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.02863, allocations: 117 kB / 474.1 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.02865, allocations: 8.594 kB / 474.1 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.03042, allocations: 3.599 MB / 477.7 MB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.03042, allocations: 4 kB / 477.7 MB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.03081, allocations: 463.1 kB / 478.1 MB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.03084, allocations: 8 kB / 478.1 MB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.03094, allocations: 8.5 kB / 478.1 MB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.03099, allocations: 39.86 kB / 478.2 MB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.03101, allocations: 12.81 kB / 478.2 MB, free: 6.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.03113, allocations: 180.4 kB / 478.4 MB, free: 6.535 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03113, allocations: 1.469 kB / 478.4 MB, free: 6.535 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000445/0.03157, allocations: 144 kB / 478.5 MB, free: 6.395 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.0001383/0.03171, allocations: 86.3 kB / 478.6 MB, free: 6.301 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.03237, allocations: 0.6346 MB / 479.2 MB, free: 5.629 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.228e-05/0.03239, allocations: 12.44 kB / 479.2 MB, free: 5.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.0327, allocations: 478.3 kB / 479.7 MB, free: 5.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.03321, allocations: 234 kB / 479.9 MB, free: 4.895 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.03546, allocations: 0.9929 MB / 480.9 MB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.03558, allocations: 155.4 kB / 481.1 MB, free: 3.676 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.03579, allocations: 71.36 kB / 481.1 MB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.03602, allocations: 181.2 kB / 481.3 MB, free: 3.441 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03603, allocations: 0.9375 kB / 481.3 MB, free: 3.441 MB / 458.7 MB Notification: Performance of Templates: time 0.0113/0.04733, allocations: 8.667 MB / 490 MB, free: 11.27 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.7370673390105367]