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.001105/0.001105, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009924/0.0009924, allocations: 173 kB / 23.49 MB, free: 1.059 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.843/0.843, allocations: 154.8 MB / 415.1 MB, free: 480 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 1.924e-06/1.924e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.167e-05, allocations: 3.281 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005472/0.005504, allocations: 3.778 MB / 0.5243 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.008467, allocations: 1.826 MB / 0.526 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.008782, allocations: 23.81 kB / 0.5261 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.009702, allocations: 269.5 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00083/0.01053, allocations: 312.1 kB / 0.5266 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.01119, allocations: 257.2 kB / 0.5269 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.01202, allocations: 0.6244 MB / 0.5275 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.01247, allocations: 235.5 kB / 0.5277 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.0131, allocations: 344.4 kB / 0.528 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.01349, allocations: 204.6 kB / 0.5282 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.01355, allocations: 24 kB / 0.5282 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.01402, allocations: 251.3 kB / 0.5285 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.01417, allocations: 132.2 kB / 0.5286 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.01433, allocations: 131.6 kB / 0.5287 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.01507, allocations: 471.6 kB / 0.5292 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01507, allocations: 0 / 0.5292 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01508, allocations: 0 / 0.5292 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.01508, allocations: 0 / 0.5292 GB, free: 9.449 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.001152/0.01624, allocations: 0.7606 MB / 0.5299 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.01629, allocations: 8.031 kB / 0.5299 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.01735, allocations: 200.2 kB / 0.5301 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.01796, allocations: 356.1 kB / 0.5305 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.01799, allocations: 25.58 kB / 0.5305 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.01805, allocations: 36.81 kB / 0.5305 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.01878, allocations: 0.5525 MB / 0.5311 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.0188, allocations: 9.766 kB / 0.5311 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.01884, allocations: 12 kB / 0.5311 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.01892, allocations: 40.62 kB / 0.5311 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.01935, allocations: 197.9 kB / 0.5313 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.02151, allocations: 3.542 MB / 0.5348 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.02183, allocations: 203.9 kB / 0.535 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.02193, allocations: 71.66 kB / 0.535 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.02194, allocations: 5.562 kB / 0.535 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.02196, allocations: 41.33 kB / 0.5351 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.482e-06/0.02196, allocations: 0 / 0.5351 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.000874/0.02284, allocations: 0.4897 MB / 0.5356 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.02286, allocations: 56.48 kB / 0.5356 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.02308, allocations: 374.5 kB / 0.536 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.02309, allocations: 30.8 kB / 0.536 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.02322, allocations: 302.8 kB / 0.5363 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.02327, allocations: 99.11 kB / 0.5364 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.02335, allocations: 85.23 kB / 0.5365 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.02348, allocations: 0.5196 MB / 0.537 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.02357, allocations: 64.95 kB / 0.537 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.02374, allocations: 267.4 kB / 0.5373 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.02401, allocations: 366.8 kB / 0.5376 GB, free: 236 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02401, allocations: 4 kB / 0.5376 GB, free: 232 kB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004248/0.02443, allocations: 410.9 kB / 0.538 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.02445, allocations: 8 kB / 0.538 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.02445, allocations: 4 kB / 0.538 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.02462, allocations: 75 kB / 0.5381 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.02479, allocations: 83.83 kB / 0.5382 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.0248, allocations: 11.98 kB / 0.5382 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.02492, allocations: 25.05 kB / 0.5382 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.02494, allocations: 20 kB / 0.5383 GB, free: 15.58 MB / 0.5105 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.0001095/0.02505, allocations: 189.9 kB / 0.5384 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.0251, allocations: 47.77 kB / 0.5385 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.02545, allocations: 284.6 kB / 0.5387 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02545, allocations: 5.438 kB / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02546, allocations: 0 / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.02546, allocations: 3.984 kB / 0.5388 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.02606, allocations: 0.679 MB / 0.5394 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02606, allocations: 3.938 kB / 0.5394 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.02617, allocations: 55.89 kB / 0.5395 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.02628, allocations: 60.45 kB / 0.5395 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.0263, allocations: 11.98 kB / 0.5395 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.0263, allocations: 5.25 kB / 0.5396 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0263, allocations: 3.938 kB / 0.5396 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.02664, allocations: 446.1 kB / 0.54 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.02671, allocations: 56.61 kB / 0.54 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.02674, allocations: 11.95 kB / 0.54 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.02684, allocations: 17.11 kB / 0.5401 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.02689, allocations: 23.95 kB / 0.5401 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.0269, allocations: 8 kB / 0.5401 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001188/0.02702, allocations: 244.5 kB / 0.5403 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02702, allocations: 0 / 0.5403 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002591/0.02728, allocations: 88 kB / 0.5404 GB, free: 13.22 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 9.142e-05/0.02737, allocations: 108.6 kB / 0.5405 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.02769, allocations: 260.5 kB / 0.5408 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0277, allocations: 0 / 0.5408 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.02783, allocations: 134.2 kB / 0.5409 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.02823, allocations: 125 kB / 0.541 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.02908, allocations: 0.673 MB / 0.5417 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.02915, allocations: 121.5 kB / 0.5418 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.02928, allocations: 64.83 kB / 0.5418 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.02933, allocations: 28.5 kB / 0.5419 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.02934, allocations: 0 / 0.5419 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.006639/0.03597, allocations: 4.81 MB / 0.5466 GB, free: 7.102 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: 4.09206369612366]