Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001789/0.001789, allocations: 85.48 kB / 19.44 MB, free: 336 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.002105/0.002105, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.348/1.348, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.277e-05, allocations: 4.625 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005858/0.005891, allocations: 3.113 MB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.009808, allocations: 1.949 MB / 0.5245 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.01004, allocations: 7.938 kB / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.01122, allocations: 289.4 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.01189, allocations: 203.6 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.01273, allocations: 260.5 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.01329, allocations: 330.8 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.01367, allocations: 159.4 kB / 0.5257 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.01407, allocations: 187.5 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.01444, allocations: 135.6 kB / 0.526 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.0145, allocations: 23.98 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.0153, allocations: 387 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01545, allocations: 91.73 kB / 0.5265 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.0156, allocations: 80.33 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.01665, allocations: 0.5232 MB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01666, allocations: 0 / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01666, allocations: 0 / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.01667, allocations: 0 / 0.5271 GB, free: 10.86 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001155/0.01783, allocations: 0.6094 MB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.01787, allocations: 8.969 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.01884, allocations: 169.3 kB / 0.5279 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.01927, allocations: 212.1 kB / 0.5281 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.01929, allocations: 14.09 kB / 0.5281 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.01933, allocations: 24.34 kB / 0.5281 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.02006, allocations: 326 kB / 0.5284 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.02007, allocations: 0.8125 kB / 0.5284 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.0201, allocations: 8.375 kB / 0.5284 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.02015, allocations: 30.23 kB / 0.5285 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.02052, allocations: 153.8 kB / 0.5286 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.0229, allocations: 1.453 MB / 0.53 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.02335, allocations: 172.7 kB / 0.5302 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.02347, allocations: 55.36 kB / 0.5302 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-05/0.02356, allocations: 15.08 kB / 0.5303 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.0236, allocations: 37.39 kB / 0.5303 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.0236, allocations: 0 / 0.5303 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002068/0.02567, allocations: 0.5809 MB / 0.5309 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.02574, allocations: 81.11 kB / 0.5309 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.02606, allocations: 285.5 kB / 0.5312 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.0261, allocations: 29.7 kB / 0.5312 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.02627, allocations: 223.2 kB / 0.5314 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/0.02637, allocations: 95.27 kB / 0.5315 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.0265, allocations: 74.06 kB / 0.5316 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002942/0.02679, allocations: 0.5196 MB / 0.5321 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.02695, allocations: 59.83 kB / 0.5322 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.0272, allocations: 177.1 kB / 0.5323 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.02761, allocations: 271.8 kB / 0.5326 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.02761, allocations: 1.812 kB / 0.5326 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007877/0.0284, allocations: 364.6 kB / 0.533 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.02843, allocations: 12.64 kB / 0.533 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.02843, allocations: 0 / 0.533 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.02913, allocations: 139.9 kB / 0.5331 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.0294, allocations: 55.91 kB / 0.5332 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/0.03404, allocations: 5.147 MB / 0.5382 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.03428, allocations: 23.92 kB / 0.5382 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.03431, allocations: 8 kB / 0.5382 GB, free: 14.8 MB / 0.5105 GB 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.03455, allocations: 187.7 kB / 0.5384 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.03465, allocations: 31.84 kB / 0.5384 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.03548, allocations: 309.3 kB / 0.5387 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.03548, allocations: 3.984 kB / 0.5387 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.03549, allocations: 4 kB / 0.5387 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.03549, allocations: 0 / 0.5387 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.03726, allocations: 0.7936 MB / 0.5395 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.03727, allocations: 4 kB / 0.5395 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.03742, allocations: 39.91 kB / 0.5395 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.03804, allocations: 137.8 kB / 0.5397 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.03806, allocations: 4 kB / 0.5397 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/0.04255, allocations: 5.143 MB / 0.5447 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.04256, allocations: 4 kB / 0.5447 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.04355, allocations: 0.6105 MB / 0.5453 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.04373, allocations: 47.83 kB / 0.5453 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.04377, allocations: 8 kB / 0.5453 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.044, allocations: 19.97 kB / 0.5454 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.04407, allocations: 24.62 kB / 0.5454 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.0441, allocations: 15.94 kB / 0.5454 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002014/0.0443, allocations: 197 kB / 0.5456 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.0443, allocations: 0 / 0.5456 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005874/0.04488, allocations: 99.86 kB / 0.5457 GB, free: 6.633 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/0.04523, allocations: 144.3 kB / 0.5458 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.04646, allocations: 0.5766 MB / 0.5464 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.04647, allocations: 0 / 0.5464 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.04716, allocations: 474 kB / 0.5468 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.04772, allocations: 45.48 kB / 0.5469 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.04898, allocations: 0.5739 MB / 0.5474 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.04923, allocations: 170.6 kB / 0.5476 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.04939, allocations: 50.16 kB / 0.5477 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.04945, allocations: 24.5 kB / 0.5477 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.04945, allocations: 2.344 kB / 0.5477 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of Templates: time 0.01129/0.06074, allocations: 4.211 MB / 0.5518 GB, free: 420 kB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.285770901013166]