Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001464/0.001464, 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.00172/0.00172, allocations: 169 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 1.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.784/0.784, allocations: 154.9 MB / 414.8 MB, free: 380 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.619e-05/4.878e-05, allocations: 5.328 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005934/0.005983, allocations: 3.095 MB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.008618, allocations: 1.121 MB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.008911, allocations: 23.75 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.009597, allocations: 120.5 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.01024, allocations: 257.2 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.01079, allocations: 210.1 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008498/0.01164, allocations: 0.6244 MB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.01222, allocations: 238.6 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.01312, allocations: 340.9 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.0138, allocations: 219.9 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.01386, allocations: 28.56 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.01412, allocations: 91.8 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.01427, allocations: 133.1 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.01445, allocations: 139.6 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.01507, allocations: 358.6 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.01508, allocations: 3.938 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01508, allocations: 0.5 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.01509, allocations: 1 kB / 0.5275 GB, free: 10.84 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009789/0.01606, allocations: 0.7397 MB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.01611, allocations: 8.031 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.01669, allocations: 172.3 kB / 0.5284 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.01715, allocations: 354.6 kB / 0.5287 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01718, allocations: 25.02 kB / 0.5287 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.01725, allocations: 28.38 kB / 0.5288 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.018, allocations: 0.5559 MB / 0.5293 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.01802, allocations: 0 / 0.5293 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.01806, allocations: 16 kB / 0.5293 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.913e-05/0.01814, allocations: 40.62 kB / 0.5294 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.01854, allocations: 194.5 kB / 0.5295 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.02107, allocations: 3.546 MB / 0.533 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.02154, allocations: 206.1 kB / 0.5332 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.02165, allocations: 67.66 kB / 0.5333 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.02168, allocations: 8 kB / 0.5333 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.02171, allocations: 41.33 kB / 0.5333 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.02171, allocations: 0 / 0.5333 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0009973/0.02271, allocations: 0.4893 MB / 0.5338 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.02274, allocations: 59.62 kB / 0.5339 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.02298, allocations: 374.6 kB / 0.5342 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.023, allocations: 30.92 kB / 0.5342 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.02314, allocations: 302.7 kB / 0.5345 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.0232, allocations: 103.1 kB / 0.5346 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.02329, allocations: 79.8 kB / 0.5347 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.02343, allocations: 0.5133 MB / 0.5352 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.02353, allocations: 64.95 kB / 0.5353 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.02373, allocations: 271.2 kB / 0.5355 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.02404, allocations: 377.6 kB / 0.5359 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.02405, allocations: 4 kB / 0.5359 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005153/0.02456, allocations: 416.2 kB / 0.5363 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.02458, allocations: 8 kB / 0.5363 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02459, allocations: 5.281 kB / 0.5363 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.02478, allocations: 68.77 kB / 0.5364 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.02497, allocations: 83.81 kB / 0.5364 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.02498, allocations: 8 kB / 0.5364 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.02511, allocations: 31.97 kB / 0.5365 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.02513, allocations: 20 kB / 0.5365 GB, free: 1.008 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.02526, allocations: 189.9 kB / 0.5367 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.02531, allocations: 48.7 kB / 0.5367 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.0257, allocations: 284.6 kB / 0.537 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.0257, allocations: 0.6875 kB / 0.537 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.02571, allocations: 4 kB / 0.537 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.02572, allocations: 2.375 kB / 0.537 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.02644, allocations: 0.6749 MB / 0.5377 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02644, allocations: 4 kB / 0.5377 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.02656, allocations: 43.91 kB / 0.5377 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.02669, allocations: 69.88 kB / 0.5378 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.0267, allocations: 4 kB / 0.5378 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02671, allocations: 7.938 kB / 0.5378 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02671, allocations: 3.938 kB / 0.5378 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.02709, allocations: 446.1 kB / 0.5382 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.02718, allocations: 55.73 kB / 0.5383 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.02721, allocations: 5.062 kB / 0.5383 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02731, allocations: 23.97 kB / 0.5383 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.02739, allocations: 27.94 kB / 0.5383 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.0274, allocations: 5.719 kB / 0.5383 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001508/0.02755, allocations: 243.1 kB / 0.5386 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02755, allocations: 0 / 0.5386 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000314/0.02786, allocations: 91.98 kB / 0.5386 GB, free: 14.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.02801, allocations: 108.6 kB / 0.5388 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.02844, allocations: 258.1 kB / 0.539 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02844, allocations: 0 / 0.539 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.0286, allocations: 136.2 kB / 0.5391 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.02903, allocations: 131.1 kB / 0.5393 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.03007, allocations: 0.6697 MB / 0.5399 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.03015, allocations: 113.6 kB / 0.54 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.0303, allocations: 68.38 kB / 0.5401 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.03037, allocations: 28.5 kB / 0.5401 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.03037, allocations: 0.9062 kB / 0.5401 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.008431/0.0388, allocations: 5.085 MB / 0.5451 GB, free: 8.27 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7777890181168914]