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.001468/0.001468, allocations: 92.22 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.001584/0.001584, allocations: 173 kB / 23.02 MB, free: 1.551 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.973/0.973, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.817/0.817, allocations: 154.9 MB / 414.8 MB, free: 424 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.613e-06/1.613e-06, allocations: 0.875 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.988e-05, allocations: 8.078 kB / 0.5207 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00438/0.00441, allocations: 3.784 MB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.007064, allocations: 1.384 MB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.007331, allocations: 36.12 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.00799, allocations: 160.2 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.008628, allocations: 353.3 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.00916, allocations: 321.8 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008654/0.01003, allocations: 0.9504 MB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.01053, allocations: 326.3 kB / 0.5278 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.01113, allocations: 494.6 kB / 0.5283 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.01155, allocations: 332.7 kB / 0.5286 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.01161, allocations: 39.98 kB / 0.5286 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.01181, allocations: 101.2 kB / 0.5287 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.01195, allocations: 191.3 kB / 0.5289 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.0121, allocations: 203.5 kB / 0.5291 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.01266, allocations: 0.5136 MB / 0.5296 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01266, allocations: 0.5625 kB / 0.5296 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01266, allocations: 0.75 kB / 0.5296 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.01268, allocations: 0 / 0.5296 GB, free: 8.648 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.0009988/0.01368, allocations: 0.9423 MB / 0.5305 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01371, allocations: 8.031 kB / 0.5305 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000629/0.01434, allocations: 250.2 kB / 0.5308 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.01489, allocations: 0.489 MB / 0.5312 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01492, allocations: 35.39 kB / 0.5313 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.01498, allocations: 44.38 kB / 0.5313 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.01593, allocations: 0.8534 MB / 0.5322 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.01595, allocations: 12.08 kB / 0.5322 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.01599, allocations: 24.36 kB / 0.5322 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/0.01606, allocations: 77.48 kB / 0.5323 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.01643, allocations: 298.2 kB / 0.5325 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.01983, allocations: 6.297 MB / 0.5387 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.02017, allocations: 279.1 kB / 0.539 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.02029, allocations: 80.19 kB / 0.539 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.02032, allocations: 8 kB / 0.539 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.02035, allocations: 45.36 kB / 0.5391 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 3.998e-06/0.02036, allocations: 0 / 0.5391 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001281/0.02164, allocations: 0.6889 MB / 0.5398 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.02167, allocations: 55.69 kB / 0.5398 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.02199, allocations: 0.4906 MB / 0.5403 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.02201, allocations: 33.7 kB / 0.5403 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.02218, allocations: 422 kB / 0.5407 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.02225, allocations: 126.9 kB / 0.5409 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02236, allocations: 115.9 kB / 0.541 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.02251, allocations: 0.5352 MB / 0.5415 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.02263, allocations: 89.25 kB / 0.5416 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.02289, allocations: 454.6 kB / 0.542 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.02338, allocations: 0.5858 MB / 0.5426 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.02338, allocations: 5 kB / 0.5426 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006966/0.02408, allocations: 0.6075 MB / 0.5432 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.02411, allocations: 14.8 kB / 0.5432 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.02412, allocations: 8 kB / 0.5432 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.02445, allocations: 133.3 kB / 0.5433 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.02472, allocations: 123.8 kB / 0.5434 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.02738, allocations: 5.25 MB / 0.5486 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.02758, allocations: 31.97 kB / 0.5486 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.0276, allocations: 32.88 kB / 0.5486 GB, free: 3.867 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.0001425/0.02775, allocations: 198.7 kB / 0.5488 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.02781, allocations: 67.62 kB / 0.5489 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.02827, allocations: 377 kB / 0.5492 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.02828, allocations: 4.5 kB / 0.5492 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02828, allocations: 5.812 kB / 0.5493 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.02828, allocations: 3.984 kB / 0.5493 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.02913, allocations: 0.8866 MB / 0.5501 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02913, allocations: 0 / 0.5501 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.02927, allocations: 55.89 kB / 0.5502 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.0295, allocations: 116.8 kB / 0.5503 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.02951, allocations: 8 kB / 0.5503 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.03211, allocations: 5.239 MB / 0.5554 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.03211, allocations: 0 / 0.5554 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.03279, allocations: 0.5633 MB / 0.556 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.0329, allocations: 83.58 kB / 0.556 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.03293, allocations: 10.22 kB / 0.5561 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.03306, allocations: 23.97 kB / 0.5561 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.03314, allocations: 39.81 kB / 0.5561 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.03316, allocations: 12 kB / 0.5561 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002285/0.03339, allocations: 306.8 kB / 0.5564 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.03339, allocations: 0 / 0.5564 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004948/0.03388, allocations: 145.5 kB / 0.5566 GB, free: 11.18 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.0001495/0.03403, allocations: 112.3 kB / 0.5567 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008245/0.03486, allocations: 0.8479 MB / 0.5575 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03486, allocations: 0 / 0.5575 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.03527, allocations: 0.6566 MB / 0.5581 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.03584, allocations: 191.4 kB / 0.5583 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.03754, allocations: 0.9754 MB / 0.5593 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.03765, allocations: 158 kB / 0.5594 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.03787, allocations: 94.03 kB / 0.5595 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.03794, allocations: 37.44 kB / 0.5595 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of SimCode: time 1.323e-06/0.03795, allocations: 3.938 kB / 0.5595 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of Templates: time 0.01116/0.0491, allocations: 8.27 MB / 0.5676 GB, free: 15.97 MB / 0.5417 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: 4.052365473005921]