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.001425/0.001425, allocations: 82.48 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001484/0.001484, allocations: 170.5 kB / 22.46 MB, free: 4.992 MB / 14.72 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.405/1.405, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:686: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-531:694: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.169/1.169, allocations: 154.7 MB / 413.9 MB, free: 5.176 MB / 382.1 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.673e-06/1.673e-06, allocations: 0 / 0.6187 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.778e-05, allocations: 6.672 kB / 0.6187 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005085/0.005112, allocations: 3.018 MB / 0.6217 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.008536, allocations: 1.876 MB / 0.6235 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.008675, allocations: 4 kB / 0.6235 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.009659, allocations: 286.8 kB / 0.6238 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.01013, allocations: 198.9 kB / 0.624 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.01079, allocations: 254.7 kB / 0.6242 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.01121, allocations: 330.9 kB / 0.6245 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.01153, allocations: 145.1 kB / 0.6247 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.01183, allocations: 187.5 kB / 0.6248 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.01211, allocations: 139.6 kB / 0.625 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.01215, allocations: 20 kB / 0.625 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006285/0.01278, allocations: 379 kB / 0.6254 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.0129, allocations: 87.78 kB / 0.6254 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.01303, allocations: 87.75 kB / 0.6255 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.01393, allocations: 0.5141 MB / 0.626 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01393, allocations: 0 / 0.626 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01393, allocations: 4 kB / 0.626 GB, free: 13.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.01395, allocations: 4 kB / 0.626 GB, free: 13.08 MB / 0.545 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.001122/0.01508, allocations: 0.4893 MB / 0.6265 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.01512, allocations: 8.031 kB / 0.6265 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008607/0.01598, allocations: 112.7 kB / 0.6266 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.01637, allocations: 217.2 kB / 0.6268 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.01639, allocations: 16.88 kB / 0.6269 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.01643, allocations: 24.36 kB / 0.6269 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.01708, allocations: 405 kB / 0.6273 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.01709, allocations: 4.188 kB / 0.6273 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.01712, allocations: 8.312 kB / 0.6273 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.01718, allocations: 36.41 kB / 0.6273 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.01767, allocations: 285.8 kB / 0.6276 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01972, allocations: 1.23 MB / 0.6288 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.02019, allocations: 233.1 kB / 0.629 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.02035, allocations: 105.6 kB / 0.6291 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.02043, allocations: 12 kB / 0.6291 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.02047, allocations: 38.55 kB / 0.6292 GB, free: 9.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.02047, allocations: 0 / 0.6292 GB, free: 9.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002541/0.02301, allocations: 0.8957 MB / 0.63 GB, free: 8.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.02308, allocations: 81.11 kB / 0.6301 GB, free: 8.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.02332, allocations: 212.6 kB / 0.6303 GB, free: 8.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.02335, allocations: 37.73 kB / 0.6303 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.02349, allocations: 176.4 kB / 0.6305 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.02357, allocations: 83.33 kB / 0.6306 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.02367, allocations: 65.64 kB / 0.6307 GB, free: 8.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.02388, allocations: 330.8 kB / 0.631 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.02409, allocations: 127.9 kB / 0.6311 GB, free: 7.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.02437, allocations: 213.2 kB / 0.6313 GB, free: 7.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.02489, allocations: 369.5 kB / 0.6316 GB, free: 7.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02489, allocations: 0 / 0.6316 GB, free: 7.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008894/0.02578, allocations: 0.5084 MB / 0.6321 GB, free: 6.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.0258, allocations: 8 kB / 0.6322 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02581, allocations: 4 kB / 0.6322 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.02634, allocations: 155.2 kB / 0.6323 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.02662, allocations: 55.91 kB / 0.6324 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.03024, allocations: 3.93 MB / 0.6362 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.03044, allocations: 15.98 kB / 0.6362 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.03049, allocations: 8 kB / 0.6362 GB, free: 2.055 MB / 0.545 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.0002158/0.0307, allocations: 170.7 kB / 0.6364 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.03078, allocations: 19.86 kB / 0.6364 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.03172, allocations: 484 kB / 0.6369 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.03172, allocations: 4 kB / 0.6369 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.03173, allocations: 0 / 0.6369 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.03173, allocations: 96 / 0.6369 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.03337, allocations: 0.8903 MB / 0.6377 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.03338, allocations: 0 / 0.6377 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.03351, allocations: 35.92 kB / 0.6378 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.03393, allocations: 143.3 kB / 0.6379 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.03395, allocations: 8 kB / 0.6379 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.03748, allocations: 3.903 MB / 0.6417 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.03749, allocations: 4.438 kB / 0.6417 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.03841, allocations: 0.6325 MB / 0.6423 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.03852, allocations: 47.83 kB / 0.6424 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.03856, allocations: 4 kB / 0.6424 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.03878, allocations: 23.98 kB / 0.6424 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.03885, allocations: 23.91 kB / 0.6424 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.03887, allocations: 19.92 kB / 0.6425 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001634/0.03904, allocations: 152.2 kB / 0.6426 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.03904, allocations: 0 / 0.6426 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005393/0.03958, allocations: 95.88 kB / 0.6427 GB, free: 11 MB / 0.5606 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.0002962/0.03987, allocations: 143.1 kB / 0.6428 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.04091, allocations: 0.5641 MB / 0.6434 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.04092, allocations: 0 / 0.6434 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.04149, allocations: 389.1 kB / 0.6438 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.04199, allocations: 44.75 kB / 0.6438 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.04316, allocations: 0.6051 MB / 0.6444 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.04337, allocations: 177.1 kB / 0.6446 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.04354, allocations: 62.22 kB / 0.6446 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.04359, allocations: 20.5 kB / 0.6446 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.0436, allocations: 0 / 0.6446 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of Templates: time 0.009642/0.05324, allocations: 4.178 MB / 0.6487 GB, free: 4.781 MB / 0.5606 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.823649464175105] Failed to read output from testmodel.py, exit status != 0: 0.0624577421694994 0.076625592 0.05974191500000001 Calling exit ...