Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001034/0.001034, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001293/0.001293, 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.975/0.975, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7632/0.7632, allocations: 154.9 MB / 415.1 MB, free: 272 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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.719e-05, allocations: 8.531 kB / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01093/0.01095, allocations: 3.718 MB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005685/0.01664, allocations: 1.372 MB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.01706, allocations: 35.62 kB / 0.5261 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.01766, allocations: 164 kB / 0.5263 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.01835, allocations: 353.6 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.01895, allocations: 318.7 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.02237, allocations: 0.9487 MB / 0.5279 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.02285, allocations: 322.4 kB / 0.5282 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006772/0.02352, allocations: 495.6 kB / 0.5286 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.02401, allocations: 332.4 kB / 0.529 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.02408, allocations: 36 kB / 0.529 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.02431, allocations: 108.4 kB / 0.5291 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.02448, allocations: 195.8 kB / 0.5293 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.02467, allocations: 199.5 kB / 0.5295 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.02527, allocations: 0.5068 MB / 0.53 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.02528, allocations: 8 kB / 0.53 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.02528, allocations: 0 / 0.53 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.02529, allocations: 1.219 kB / 0.53 GB, free: 8.488 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001126/0.02642, allocations: 0.9386 MB / 0.5309 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.02646, allocations: 12.03 kB / 0.5309 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.02728, allocations: 220 kB / 0.5311 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.02799, allocations: 491.8 kB / 0.5316 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.02803, allocations: 37.36 kB / 0.5316 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.0281, allocations: 44.36 kB / 0.5317 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.02886, allocations: 0.8182 MB / 0.5325 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.02889, allocations: 16.06 kB / 0.5325 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.02894, allocations: 23.12 kB / 0.5325 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.02903, allocations: 68.89 kB / 0.5326 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.02942, allocations: 253.6 kB / 0.5328 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.03306, allocations: 6.169 MB / 0.5388 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.03343, allocations: 260.1 kB / 0.5391 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.03355, allocations: 73.12 kB / 0.5391 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.03358, allocations: 4 kB / 0.5391 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.03361, allocations: 46.28 kB / 0.5392 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/0.03361, allocations: 0 / 0.5392 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001368/0.03498, allocations: 0.5518 MB / 0.5397 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.03501, allocations: 59.67 kB / 0.5398 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.0354, allocations: 0.4903 MB / 0.5403 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.03543, allocations: 33.7 kB / 0.5403 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.03568, allocations: 418.9 kB / 0.5407 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.03577, allocations: 126.9 kB / 0.5408 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.03593, allocations: 119.9 kB / 0.5409 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.03611, allocations: 0.5351 MB / 0.5415 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.03623, allocations: 72.41 kB / 0.5415 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.03655, allocations: 438.5 kB / 0.5419 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.03707, allocations: 0.5414 MB / 0.5425 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.03707, allocations: 9.312 kB / 0.5425 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000849/0.03792, allocations: 0.5603 MB / 0.543 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.03794, allocations: 12 kB / 0.543 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.03796, allocations: 8 kB / 0.543 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.03833, allocations: 130.7 kB / 0.5432 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.03869, allocations: 115.8 kB / 0.5433 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.04156, allocations: 5.183 MB / 0.5483 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.04189, allocations: 20 kB / 0.5484 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.04192, allocations: 22.47 kB / 0.5484 GB, free: 4.371 MB / 0.5105 GB 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.0001802/0.0421, allocations: 196.3 kB / 0.5486 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.04219, allocations: 72.28 kB / 0.5486 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.04276, allocations: 347.5 kB / 0.549 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.04277, allocations: 7.938 kB / 0.549 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.04277, allocations: 0 / 0.549 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.04277, allocations: 0 / 0.549 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.04388, allocations: 0.7888 MB / 0.5497 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.04389, allocations: 0 / 0.5497 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.04406, allocations: 47.91 kB / 0.5498 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.04436, allocations: 112.7 kB / 0.5499 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.04438, allocations: 10.31 kB / 0.5499 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.04713, allocations: 5.161 MB / 0.555 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.04713, allocations: 7.938 kB / 0.555 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.04782, allocations: 0.5345 MB / 0.5555 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.04798, allocations: 83.58 kB / 0.5556 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.04803, allocations: 11.98 kB / 0.5556 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.04821, allocations: 4 kB / 0.5556 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.04828, allocations: 35.83 kB / 0.5556 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.0483, allocations: 11.98 kB / 0.5556 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002233/0.04853, allocations: 298.7 kB / 0.5559 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.04853, allocations: 1.312 kB / 0.5559 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007195/0.04924, allocations: 140 kB / 0.556 GB, free: 11.99 MB / 0.5261 GB 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.0001441/0.04939, allocations: 112.9 kB / 0.5561 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.05029, allocations: 0.8107 MB / 0.5569 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.05029, allocations: 0 / 0.5569 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.05083, allocations: 0.6466 MB / 0.5576 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.05164, allocations: 194.3 kB / 0.5578 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.05314, allocations: 0.9677 MB / 0.5587 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.05327, allocations: 154.6 kB / 0.5588 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.0535, allocations: 71.17 kB / 0.5589 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.05385, allocations: 222.1 kB / 0.5591 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.05386, allocations: 0 / 0.5591 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of Templates: time 0.0146/0.06846, allocations: 8.365 MB / 0.5673 GB, free: 0.5664 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.766475271899253]