Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0006493/0.0006493, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008727/0.001522, 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.0007193/0.0007193, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009039/0.001623, 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 1.012/1.012, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09632/1.109, 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.7932/0.7932, 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.2751/1.068, allocations: 49.05 MB / 447.8 MB, free: 6.598 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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 3.984 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.587e-05, allocations: 2.938 kB / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005463/0.005479, allocations: 2.738 MB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.007609, allocations: 1.508 MB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.007724, allocations: 7.938 kB / 453.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.008075, allocations: 130.1 kB / 453.5 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.01143, allocations: 212.2 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.01195, allocations: 257.7 kB / 454 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.0124, allocations: 443.2 kB / 454.4 MB, free: 84 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.0127, allocations: 168.9 kB / 454.6 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.01305, allocations: 251.3 kB / 454.8 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.01339, allocations: 203.6 kB / 455 MB, free: 15.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.01342, allocations: 24 kB / 455 MB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.01372, allocations: 167.7 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.01383, allocations: 119.7 kB / 455.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.01392, allocations: 79.88 kB / 455.4 MB, free: 15.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.01432, allocations: 323.8 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.01434, allocations: 4 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01434, allocations: 0 / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.01435, allocations: 1.125 kB / 455.7 MB, free: 14.78 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008323/0.01518, allocations: 0.5607 MB / 456.3 MB, free: 14.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01522, allocations: 13.81 kB / 456.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.01597, allocations: 217.7 kB / 456.5 MB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.0162, allocations: 207.6 kB / 456.7 MB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.01622, allocations: 21.48 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.0163, allocations: 32.7 kB / 456.8 MB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.01663, allocations: 391.9 kB / 457.2 MB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01665, allocations: 192 / 457.2 MB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.01667, allocations: 13.16 kB / 457.2 MB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-05/0.01674, allocations: 36.47 kB / 457.2 MB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.01688, allocations: 112.4 kB / 457.3 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01795, allocations: 1.301 MB / 458.6 MB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.01811, allocations: 170.6 kB / 458.8 MB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.01817, allocations: 46.06 kB / 458.8 MB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.01818, allocations: 4 kB / 458.8 MB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.0182, allocations: 38.56 kB / 458.9 MB, free: 11.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.0182, allocations: 0.6562 kB / 458.9 MB, free: 11.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006915/0.01889, allocations: 444.7 kB / 459.3 MB, free: 11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.01892, allocations: 56.03 kB / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01905, allocations: 219.7 kB / 459.6 MB, free: 10.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01907, allocations: 34.33 kB / 459.6 MB, free: 10.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.01914, allocations: 180.9 kB / 459.8 MB, free: 10.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.01919, allocations: 95.2 kB / 459.9 MB, free: 10.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002191/0.02138, allocations: 70.27 kB / 459.9 MB, free: 10.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0215, allocations: 334.8 kB / 460.3 MB, free: 9.984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.02163, allocations: 40.59 kB / 460.3 MB, free: 9.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.02186, allocations: 123.6 kB / 460.4 MB, free: 9.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.02219, allocations: 213.8 kB / 460.6 MB, free: 9.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02219, allocations: 0 / 460.6 MB, free: 9.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007196/0.02291, allocations: 303.6 kB / 460.9 MB, free: 9.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.02293, allocations: 4 kB / 460.9 MB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.02294, allocations: 10.33 kB / 460.9 MB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009354/0.02388, allocations: 207.8 kB / 461.2 MB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.02415, allocations: 67.89 kB / 461.2 MB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.02615, allocations: 1.577 MB / 462.8 MB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.02643, allocations: 8 kB / 462.8 MB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.02646, allocations: 16.73 kB / 462.8 MB, free: 7.277 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.0266, allocations: 134.9 kB / 463 MB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.02666, allocations: 26.05 kB / 463 MB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.02694, allocations: 155.5 kB / 463.1 MB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.02694, allocations: 4.109 kB / 463.1 MB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02694, allocations: 3.938 kB / 463.1 MB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.02695, allocations: 3.984 kB / 463.1 MB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/0.02763, allocations: 439.2 kB / 463.6 MB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02763, allocations: 0 / 463.6 MB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.02808, allocations: 105.4 kB / 463.7 MB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.02817, allocations: 39.78 kB / 463.7 MB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.02818, allocations: 4.984 kB / 463.7 MB, free: 6.348 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.0282, allocations: 11.94 kB / 463.7 MB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.0282, allocations: 0 / 463.7 MB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.02821, allocations: 5 kB / 463.7 MB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.02859, allocations: 347.5 kB / 464.1 MB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.02863, allocations: 12.81 kB / 464.1 MB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.02881, allocations: 4 kB / 464.1 MB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.02884, allocations: 16.5 kB / 464.1 MB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.02886, allocations: 5.062 kB / 464.1 MB, free: 5.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.02897, allocations: 69.67 kB / 464.2 MB, free: 5.867 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.02897, allocations: 0 / 464.2 MB, free: 5.867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.02937, allocations: 85.69 kB / 464.3 MB, free: 5.785 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.02954, allocations: 97.7 kB / 464.4 MB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.03015, allocations: 349.2 kB / 464.7 MB, free: 5.328 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.932e-05/0.03017, allocations: 5.438 kB / 464.7 MB, free: 5.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.0303, allocations: 81.81 kB / 464.8 MB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.03082, allocations: 382.3 kB / 465.2 MB, free: 4.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.03393, allocations: 0.6229 MB / 465.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.034, allocations: 117.1 kB / 465.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.03411, allocations: 32.09 kB / 465.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.03425, allocations: 103.9 kB / 466 MB, free: 3.895 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03425, allocations: 0 / 466 MB, free: 3.895 MB / 442.7 MB Notification: Performance of Templates: time 0.006101/0.04035, allocations: 4.555 MB / 470.6 MB, free: 15.58 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.677595772780478]