Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001022/0.001022, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009854/0.002007, allocations: 440 kB / 10.41 MB, free: 284 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.0007353/0.0007353, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009496/0.001685, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9853/0.9853, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09323/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7596/0.7596, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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.3019/1.062, allocations: 49.05 MB / 447.8 MB, free: 6.582 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 449.1 MB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.606e-05, allocations: 4.562 kB / 449.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003663/0.003689, allocations: 3.162 MB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.005741, allocations: 1.167 MB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.005971, allocations: 23.81 kB / 453.5 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.006439, allocations: 143 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.00688, allocations: 266.9 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.007284, allocations: 209.4 kB / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.007967, allocations: 0.6374 MB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.008357, allocations: 232.1 kB / 455 MB, free: 15.51 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.008893, allocations: 373.2 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.009291, allocations: 227.3 kB / 455.5 MB, free: 14.92 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.009333, allocations: 28.72 kB / 455.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.009554, allocations: 91.8 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.009649, allocations: 113.1 kB / 455.8 MB, free: 14.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.009759, allocations: 119.7 kB / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.01016, allocations: 330.7 kB / 456.2 MB, free: 14.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.01018, allocations: 3.984 kB / 456.2 MB, free: 14.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01018, allocations: 0.8438 kB / 456.2 MB, free: 14.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.01019, allocations: 0 / 456.2 MB, free: 14.25 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001069/0.01126, allocations: 0.702 MB / 456.9 MB, free: 13.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.0113, allocations: 11.12 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/0.01179, allocations: 213.7 kB / 457.1 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.01222, allocations: 332.7 kB / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.01225, allocations: 21.66 kB / 457.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.01229, allocations: 36.31 kB / 457.5 MB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.01271, allocations: 486.4 kB / 458 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.01273, allocations: 10.03 kB / 458 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.01275, allocations: 12 kB / 458 MB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.0128, allocations: 41.19 kB / 458.1 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.01297, allocations: 154.9 kB / 458.2 MB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.01442, allocations: 2.354 MB / 460.6 MB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.0147, allocations: 207.3 kB / 460.8 MB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.01477, allocations: 54.2 kB / 460.8 MB, free: 9.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.01478, allocations: 4 kB / 460.8 MB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.01481, allocations: 38.56 kB / 460.9 MB, free: 9.355 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.624e-06/0.01481, allocations: 0 / 460.9 MB, free: 9.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007286/0.01554, allocations: 369.4 kB / 461.2 MB, free: 8.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.01556, allocations: 52.23 kB / 461.3 MB, free: 8.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.01575, allocations: 323.2 kB / 461.6 MB, free: 8.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01578, allocations: 30.42 kB / 461.6 MB, free: 8.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01588, allocations: 228.6 kB / 461.8 MB, free: 8.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.01595, allocations: 99.89 kB / 461.9 MB, free: 8.227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.01603, allocations: 74.12 kB / 462 MB, free: 8.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01613, allocations: 352.7 kB / 462.4 MB, free: 7.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.01618, allocations: 36.98 kB / 462.4 MB, free: 7.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.0163, allocations: 195.1 kB / 462.6 MB, free: 7.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.01651, allocations: 287.1 kB / 462.9 MB, free: 7.168 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01652, allocations: 4.938 kB / 462.9 MB, free: 7.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003512/0.01687, allocations: 322.8 kB / 463.2 MB, free: 6.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01689, allocations: 8 kB / 463.2 MB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.01689, allocations: 4 kB / 463.2 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.01705, allocations: 73.09 kB / 463.3 MB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.01724, allocations: 79.91 kB / 463.3 MB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002723/0.01751, allocations: 19.91 kB / 463.4 MB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01762, allocations: 16 kB / 463.4 MB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01764, allocations: 8 kB / 463.4 MB, free: 6.621 MB / 442.7 MB 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.0001024/0.01774, allocations: 142.2 kB / 463.5 MB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.01778, allocations: 37.09 kB / 463.6 MB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.01807, allocations: 233.8 kB / 463.8 MB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01807, allocations: 6.859 kB / 463.8 MB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01807, allocations: 5.812 kB / 463.8 MB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01808, allocations: 3.984 kB / 463.8 MB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.01861, allocations: 0.5213 MB / 464.3 MB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01861, allocations: 0 / 464.3 MB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01873, allocations: 44.92 kB / 464.4 MB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.01879, allocations: 47.75 kB / 464.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.0189, allocations: 67.64 kB / 464.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01891, allocations: 10.06 kB / 464.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01891, allocations: 4 kB / 464.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01891, allocations: 0 / 464.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01919, allocations: 375.7 kB / 464.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01922, allocations: 8 kB / 464.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.0193, allocations: 4.938 kB / 464.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.01935, allocations: 27.95 kB / 464.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01936, allocations: 4.781 kB / 464.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.927e-05/0.01944, allocations: 124.7 kB / 465 MB, free: 4.863 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01944, allocations: 0.9688 kB / 465 MB, free: 4.863 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01968, allocations: 84 kB / 465.1 MB, free: 4.781 MB / 442.7 MB 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.0001029/0.01978, allocations: 89.7 kB / 465.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.02007, allocations: 222.2 kB / 465.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.02009, allocations: 11.98 kB / 465.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.02022, allocations: 119.5 kB / 465.5 MB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.02092, allocations: 1.133 MB / 466.7 MB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.02264, allocations: 0.6997 MB / 467.4 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.02271, allocations: 117.6 kB / 467.5 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.02284, allocations: 40.59 kB / 467.5 MB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.02303, allocations: 141.2 kB / 467.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/0.02303, allocations: 0 / 467.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of Templates: time 0.008133/0.03116, allocations: 5.178 MB / 472.8 MB, free: 13.17 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6152935326099396]