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.0008603/0.0008603, allocations: 93.06 kB / 19.65 MB, free: 276 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.001009/0.001009, allocations: 169 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.986/0.986, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.7897/0.7897, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.823e-06/1.823e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.184e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005064/0.005096, allocations: 3.088 MB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.006633, allocations: 1.121 MB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.006788, allocations: 24.72 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.00726, allocations: 119.1 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.00762, allocations: 249.8 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.007933, allocations: 217.5 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.008415, allocations: 0.6312 MB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.008744, allocations: 238.6 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.009129, allocations: 331.2 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.009383, allocations: 207.3 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.00942, allocations: 28 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.009565, allocations: 96.8 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.009668, allocations: 131.6 kB / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.00978, allocations: 140.1 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.01014, allocations: 366.6 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.01014, allocations: 0.5625 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01014, allocations: 0.9375 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.01015, allocations: 0 / 0.5271 GB, free: 11.27 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.0007298/0.01088, allocations: 0.7395 MB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.01092, allocations: 8.031 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.01149, allocations: 198.4 kB / 0.528 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.01188, allocations: 361 kB / 0.5284 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.01189, allocations: 21.03 kB / 0.5284 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.01194, allocations: 32.36 kB / 0.5284 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.01243, allocations: 0.549 MB / 0.529 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.01245, allocations: 11.89 kB / 0.529 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.01247, allocations: 14.31 kB / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.01252, allocations: 40.62 kB / 0.529 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.01277, allocations: 188.3 kB / 0.5292 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.01466, allocations: 3.556 MB / 0.5327 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.01501, allocations: 197.2 kB / 0.5329 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01512, allocations: 74.56 kB / 0.5329 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.01514, allocations: 4 kB / 0.5329 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.01516, allocations: 45.33 kB / 0.533 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.01517, allocations: 0 / 0.533 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0008822/0.01605, allocations: 0.5031 MB / 0.5335 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.01607, allocations: 51.64 kB / 0.5335 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.0164, allocations: 374.6 kB / 0.5339 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.01642, allocations: 32.36 kB / 0.5339 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01654, allocations: 298.7 kB / 0.5342 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.01659, allocations: 99.16 kB / 0.5343 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.01666, allocations: 87.75 kB / 0.5344 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01678, allocations: 0.5157 MB / 0.5349 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.01687, allocations: 60.97 kB / 0.5349 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.01704, allocations: 274.5 kB / 0.5352 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.01733, allocations: 362.6 kB / 0.5355 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01733, allocations: 4 kB / 0.5355 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004446/0.01777, allocations: 413.2 kB / 0.5359 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01779, allocations: 8 kB / 0.5359 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01779, allocations: 8.844 kB / 0.536 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.01798, allocations: 75.59 kB / 0.536 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01815, allocations: 80.64 kB / 0.5361 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.01816, allocations: 7.938 kB / 0.5361 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.01828, allocations: 33.38 kB / 0.5361 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.0183, allocations: 16 kB / 0.5362 GB, free: 1.414 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.0001072/0.0184, allocations: 186.6 kB / 0.5363 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.01845, allocations: 43.77 kB / 0.5364 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.01882, allocations: 292.8 kB / 0.5367 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01882, allocations: 4 kB / 0.5367 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01883, allocations: 0 / 0.5367 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01883, allocations: 5 kB / 0.5367 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/0.01975, allocations: 0.6727 MB / 0.5373 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01976, allocations: 4 kB / 0.5373 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01988, allocations: 39.97 kB / 0.5374 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.02, allocations: 72.25 kB / 0.5374 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.02001, allocations: 4 kB / 0.5374 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/0.02002, allocations: 8.031 kB / 0.5374 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02003, allocations: 4.562 kB / 0.5374 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.02039, allocations: 442.8 kB / 0.5379 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.02047, allocations: 59.72 kB / 0.5379 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.0205, allocations: 7.953 kB / 0.5379 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.0206, allocations: 24.94 kB / 0.538 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.02065, allocations: 27.89 kB / 0.538 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.02066, allocations: 4 kB / 0.538 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001321/0.0208, allocations: 247.8 kB / 0.5382 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0208, allocations: 0 / 0.5382 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000281/0.02108, allocations: 88.59 kB / 0.5383 GB, free: 15.06 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 8.726e-05/0.02116, allocations: 103.5 kB / 0.5384 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.02154, allocations: 261.2 kB / 0.5387 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02154, allocations: 0 / 0.5387 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.02168, allocations: 134.5 kB / 0.5388 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.02212, allocations: 134.5 kB / 0.5389 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.02304, allocations: 0.6674 MB / 0.5396 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.02312, allocations: 122.6 kB / 0.5397 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.02327, allocations: 72.05 kB / 0.5397 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.02333, allocations: 29 kB / 0.5398 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.02333, allocations: 1 kB / 0.5398 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.006912/0.03024, allocations: 4.811 MB / 0.5445 GB, free: 8.938 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.9782831259071827]