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.001303/0.001303, 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.00144/0.00144, allocations: 173 kB / 23.02 MB, free: 1.547 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.9035/0.9035, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7351/0.7351, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.643e-06/1.643e-06, allocations: 0 / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.316e-05, allocations: 6.359 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004442/0.004466, allocations: 3.088 MB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.00615, allocations: 1.122 MB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.006324, allocations: 27.75 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.00678, allocations: 115.2 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.007145, allocations: 253.8 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.007512, allocations: 217 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.008066, allocations: 0.6254 MB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.008428, allocations: 234.6 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.008806, allocations: 340.3 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.009071, allocations: 225.6 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.009109, allocations: 28 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.009253, allocations: 87.8 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.009356, allocations: 131.6 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.009463, allocations: 137.4 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.00984, allocations: 362.6 kB / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.009843, allocations: 0 / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.009844, allocations: 0 / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.00985, allocations: 4 kB / 0.5271 GB, free: 11.21 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.0008856/0.01074, allocations: 0.7355 MB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.01078, allocations: 9.438 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.01129, allocations: 172.3 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.0117, allocations: 356 kB / 0.5283 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.01172, allocations: 28.97 kB / 0.5284 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.01177, allocations: 35.22 kB / 0.5284 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.01236, allocations: 0.5451 MB / 0.5289 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.01238, allocations: 4 kB / 0.5289 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.01241, allocations: 12 kB / 0.529 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/0.01246, allocations: 44.62 kB / 0.529 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.01271, allocations: 197 kB / 0.5292 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.01495, allocations: 3.547 MB / 0.5327 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.01536, allocations: 203.5 kB / 0.5328 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.01546, allocations: 69.84 kB / 0.5329 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01548, allocations: 4 kB / 0.5329 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.0155, allocations: 45.33 kB / 0.533 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.0155, allocations: 0 / 0.533 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0008943/0.0164, allocations: 0.496 MB / 0.5334 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.01643, allocations: 59.58 kB / 0.5335 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.01704, allocations: 366.6 kB / 0.5339 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01706, allocations: 35.77 kB / 0.5339 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.0172, allocations: 302.7 kB / 0.5342 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.01725, allocations: 103.2 kB / 0.5343 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.01733, allocations: 83.77 kB / 0.5344 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01746, allocations: 0.5118 MB / 0.5349 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.01755, allocations: 69.92 kB / 0.5349 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.01773, allocations: 270.6 kB / 0.5352 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.01801, allocations: 363.3 kB / 0.5355 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01802, allocations: 0 / 0.5355 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004879/0.0185, allocations: 412.1 kB / 0.5359 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01852, allocations: 11.98 kB / 0.5359 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01853, allocations: 4.562 kB / 0.5359 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.01871, allocations: 67.95 kB / 0.536 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01889, allocations: 89.2 kB / 0.5361 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.01891, allocations: 19.91 kB / 0.5361 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01902, allocations: 19.98 kB / 0.5361 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01904, allocations: 20 kB / 0.5361 GB, free: 1.387 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.000122/0.01917, allocations: 186.2 kB / 0.5363 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.01921, allocations: 47.77 kB / 0.5364 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.01959, allocations: 285.4 kB / 0.5366 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01959, allocations: 6.281 kB / 0.5366 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.0196, allocations: 0 / 0.5366 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0196, allocations: 3.984 kB / 0.5366 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.02032, allocations: 0.6788 MB / 0.5373 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02032, allocations: 0 / 0.5373 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.02043, allocations: 49.3 kB / 0.5374 GB, free: 52 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.02057, allocations: 64.14 kB / 0.5374 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.02058, allocations: 8 kB / 0.5374 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.02058, allocations: 0 / 0.5374 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.02059, allocations: 11.94 kB / 0.5374 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.02094, allocations: 444.8 kB / 0.5379 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.02101, allocations: 59.73 kB / 0.5379 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.02104, allocations: 7.953 kB / 0.5379 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.02114, allocations: 17.7 kB / 0.5379 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.0212, allocations: 23.95 kB / 0.538 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.02122, allocations: 12 kB / 0.538 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002063/0.02142, allocations: 239.1 kB / 0.5382 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02142, allocations: 4 kB / 0.5382 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002522/0.02167, allocations: 89.31 kB / 0.5383 GB, free: 15.04 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.723e-05/0.02177, allocations: 108.7 kB / 0.5384 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.02217, allocations: 256.3 kB / 0.5386 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02217, allocations: 3.938 kB / 0.5386 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.0223, allocations: 137.8 kB / 0.5388 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.02273, allocations: 130.6 kB / 0.5389 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.02365, allocations: 0.667 MB / 0.5395 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.02372, allocations: 124.1 kB / 0.5397 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.02386, allocations: 62.86 kB / 0.5397 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.02392, allocations: 30.81 kB / 0.5398 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.02392, allocations: 4 kB / 0.5398 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.007063/0.03098, allocations: 5.082 MB / 0.5447 GB, free: 8.637 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.5661335340701044]