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.0009464/0.0009464, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009844/0.0009844, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7739/0.7739, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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 2.234e-06/2.234e-06, allocations: 0 / 0.5215 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.384e-05, allocations: 5.266 kB / 0.5215 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003604/0.003638, allocations: 3.044 MB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.005283, allocations: 1.114 MB / 0.5256 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.005479, allocations: 19.81 kB / 0.5256 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.005983, allocations: 128.9 kB / 0.5257 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.006374, allocations: 252.8 kB / 0.526 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.006694, allocations: 209.8 kB / 0.5262 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.007191, allocations: 0.6283 MB / 0.5268 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.007501, allocations: 234.6 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.007908, allocations: 340.7 kB / 0.5273 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.008193, allocations: 220.6 kB / 0.5276 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.008227, allocations: 28 kB / 0.5276 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.008391, allocations: 97.5 kB / 0.5277 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.008489, allocations: 127.6 kB / 0.5278 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.008594, allocations: 131.6 kB / 0.5279 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.009009, allocations: 366.6 kB / 0.5283 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.009014, allocations: 0 / 0.5283 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.009015, allocations: 5.812 kB / 0.5283 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.00902, allocations: 0 / 0.5283 GB, free: 10.96 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.000777/0.009797, allocations: 0.7386 MB / 0.529 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.009834, allocations: 8.031 kB / 0.529 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.01027, allocations: 153.4 kB / 0.5292 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.01066, allocations: 349.7 kB / 0.5295 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.01068, allocations: 25.02 kB / 0.5295 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.01073, allocations: 28.38 kB / 0.5295 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.01116, allocations: 0.5246 MB / 0.53 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01118, allocations: 7.938 kB / 0.5301 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01121, allocations: 15.98 kB / 0.5301 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.01125, allocations: 42.19 kB / 0.5301 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.01143, allocations: 162.1 kB / 0.5303 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.01332, allocations: 3.471 MB / 0.5337 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.01361, allocations: 176.9 kB / 0.5338 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.0137, allocations: 59.66 kB / 0.5339 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01372, allocations: 4 kB / 0.5339 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01375, allocations: 33.39 kB / 0.5339 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/0.01375, allocations: 6.281 kB / 0.5339 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0007953/0.01455, allocations: 422.7 kB / 0.5343 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.01457, allocations: 52.23 kB / 0.5344 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.01479, allocations: 366.4 kB / 0.5347 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.0148, allocations: 30.92 kB / 0.5348 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01493, allocations: 310.7 kB / 0.5351 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.01499, allocations: 103.1 kB / 0.5351 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.01507, allocations: 80.72 kB / 0.5352 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01521, allocations: 0.5195 MB / 0.5357 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.01527, allocations: 49.86 kB / 0.5358 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01542, allocations: 262.5 kB / 0.536 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.01567, allocations: 338.8 kB / 0.5364 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01568, allocations: 0 / 0.5364 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000418/0.01609, allocations: 384.9 kB / 0.5367 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01611, allocations: 5.875 kB / 0.5367 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01612, allocations: 8 kB / 0.5367 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.01629, allocations: 68.31 kB / 0.5368 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.01648, allocations: 80.44 kB / 0.5369 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01649, allocations: 11.94 kB / 0.5369 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.01661, allocations: 22.05 kB / 0.5369 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.01664, allocations: 12 kB / 0.5369 GB, free: 1.539 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.0001319/0.01677, allocations: 192.3 kB / 0.5371 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.01682, allocations: 49.33 kB / 0.5372 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.01717, allocations: 260.9 kB / 0.5374 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01718, allocations: 3.938 kB / 0.5374 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01718, allocations: 4 kB / 0.5374 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01719, allocations: 1.062 kB / 0.5374 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.0178, allocations: 0.6028 MB / 0.538 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01781, allocations: 0 / 0.538 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.01791, allocations: 39.92 kB / 0.538 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.01803, allocations: 64.5 kB / 0.5381 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01804, allocations: 11.98 kB / 0.5381 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01805, allocations: 4 kB / 0.5381 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01805, allocations: 5.531 kB / 0.5381 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.0186, allocations: 417.6 kB / 0.5385 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.01867, allocations: 55.67 kB / 0.5386 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.0187, allocations: 4 kB / 0.5386 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.01879, allocations: 13.38 kB / 0.5386 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01884, allocations: 23.95 kB / 0.5386 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01885, allocations: 4 kB / 0.5386 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001059/0.01896, allocations: 243 kB / 0.5388 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01896, allocations: 1.344 kB / 0.5388 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002719/0.01923, allocations: 84 kB / 0.5389 GB, free: 15.35 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 0.0001108/0.01934, allocations: 104.6 kB / 0.539 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.01965, allocations: 232.5 kB / 0.5392 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01965, allocations: 0 / 0.5392 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.01977, allocations: 121 kB / 0.5394 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.02021, allocations: 140.2 kB / 0.5395 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.02108, allocations: 0.6713 MB / 0.5402 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.02115, allocations: 122.4 kB / 0.5403 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.02127, allocations: 46.8 kB / 0.5403 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.02145, allocations: 170.1 kB / 0.5405 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.02145, allocations: 3.938 kB / 0.5405 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.007742/0.02919, allocations: 5.256 MB / 0.5456 GB, free: 8.695 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.7425806559622288]