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.0009319/0.0009319, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.000909/0.000909, allocations: 170 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.8768/0.8768, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.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.7109/0.7109, allocations: 154.6 MB / 414.8 MB, free: 0.5391 MB / 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. " [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.463e-06/1.463e-06, allocations: 0 / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.137e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.01071/0.01073, allocations: 3.049 MB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007956/0.01868, allocations: 1.125 MB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.01889, allocations: 19.81 kB / 0.5249 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.01936, allocations: 119.2 kB / 0.525 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.01976, allocations: 253.9 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.02009, allocations: 214 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.006685/0.02678, allocations: 0.6322 MB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.02709, allocations: 226.6 kB / 0.5263 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.0275, allocations: 341.5 kB / 0.5266 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.02778, allocations: 220.5 kB / 0.5268 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.02788, allocations: 28 kB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.02803, allocations: 95.73 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.02814, allocations: 128.2 kB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.02825, allocations: 143.6 kB / 0.5272 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.0286, allocations: 355.9 kB / 0.5275 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.0286, allocations: 0 / 0.5275 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.123e-06/0.0286, allocations: 0 / 0.5275 GB, free: 11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.02861, allocations: 0 / 0.5275 GB, free: 11 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.001459/0.03007, allocations: 0.7402 MB / 0.5282 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.0301, allocations: 8.031 kB / 0.5282 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005033/0.0306, allocations: 152.3 kB / 0.5284 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.03112, allocations: 358.1 kB / 0.5287 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.03114, allocations: 21.03 kB / 0.5287 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.03118, allocations: 32.36 kB / 0.5288 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.03163, allocations: 0.5285 MB / 0.5293 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.03165, allocations: 3.938 kB / 0.5293 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.03167, allocations: 12 kB / 0.5293 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.03173, allocations: 47.06 kB / 0.5293 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.03193, allocations: 158.1 kB / 0.5295 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.03397, allocations: 3.471 MB / 0.5329 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.03426, allocations: 175.1 kB / 0.5331 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.03434, allocations: 59.59 kB / 0.5331 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.03436, allocations: 4 kB / 0.5331 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.03438, allocations: 45.38 kB / 0.5332 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.03438, allocations: 0 / 0.5332 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0008067/0.03519, allocations: 416.6 kB / 0.5336 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.03522, allocations: 57.2 kB / 0.5336 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.03544, allocations: 370.4 kB / 0.534 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.03546, allocations: 29.7 kB / 0.534 GB, free: 4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.0356, allocations: 310.6 kB / 0.5343 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.03566, allocations: 96.44 kB / 0.5344 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.03575, allocations: 87.77 kB / 0.5345 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.03589, allocations: 0.5273 MB / 0.535 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.03596, allocations: 48.95 kB / 0.535 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.03614, allocations: 255 kB / 0.5353 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.03642, allocations: 334.4 kB / 0.5356 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.03642, allocations: 4 kB / 0.5356 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004676/0.03689, allocations: 385.3 kB / 0.536 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.03691, allocations: 11.98 kB / 0.536 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.03691, allocations: 5.875 kB / 0.536 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.03708, allocations: 70.95 kB / 0.536 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.03728, allocations: 75.91 kB / 0.5361 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.03729, allocations: 13.08 kB / 0.5361 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.03743, allocations: 12 kB / 0.5361 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.03745, allocations: 16 kB / 0.5362 GB, free: 1.566 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.0001201/0.03757, allocations: 186 kB / 0.5363 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.03764, allocations: 49.11 kB / 0.5364 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.03801, allocations: 260.9 kB / 0.5366 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.03802, allocations: 7.938 kB / 0.5366 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.03802, allocations: 0 / 0.5366 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.03803, allocations: 4.688 kB / 0.5366 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.0387, allocations: 0.6063 MB / 0.5372 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.0387, allocations: 0 / 0.5372 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.03883, allocations: 39.98 kB / 0.5373 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.03898, allocations: 68.41 kB / 0.5373 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.039, allocations: 0 / 0.5373 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.039, allocations: 4.562 kB / 0.5373 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.039, allocations: 0.75 kB / 0.5373 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.03938, allocations: 421.6 kB / 0.5377 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.03947, allocations: 61.89 kB / 0.5378 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.03949, allocations: 8 kB / 0.5378 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.03957, allocations: 11.98 kB / 0.5378 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.03961, allocations: 23.89 kB / 0.5378 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.03962, allocations: 8 kB / 0.5379 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.03971, allocations: 227 kB / 0.5381 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.03971, allocations: 4.781 kB / 0.5381 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002349/0.03994, allocations: 92 kB / 0.5382 GB, free: 15.38 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.016e-05/0.04003, allocations: 101.6 kB / 0.5383 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.04029, allocations: 235.4 kB / 0.5385 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.04029, allocations: 0.5 kB / 0.5385 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.0404, allocations: 128 kB / 0.5386 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.04079, allocations: 126.4 kB / 0.5387 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.04154, allocations: 0.6733 MB / 0.5394 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.04163, allocations: 117.5 kB / 0.5395 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.04173, allocations: 53.03 kB / 0.5395 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.0419, allocations: 166.1 kB / 0.5397 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.0419, allocations: 1.125 kB / 0.5397 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.006484/0.04838, allocations: 5.175 MB / 0.5448 GB, free: 8.801 MB / 0.5105 GB " [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.3648575330153108]