Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001291/0.001291, allocations: 79.97 kB / 19.18 MB, free: 2.516 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.001452/0.001452, allocations: 166.4 kB / 22.45 MB, free: 5.371 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.396/1.396, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.218/1.218, allocations: 154.7 MB / 413.9 MB, free: 5.148 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6187 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.684e-05, allocations: 2.781 kB / 0.6187 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005955/0.005981, allocations: 4.09 MB / 0.6227 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004102/0.01008, allocations: 2.291 MB / 0.625 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.01031, allocations: 27.75 kB / 0.625 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.01156, allocations: 373 kB / 0.6254 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.01239, allocations: 389.8 kB / 0.6257 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.01315, allocations: 323 kB / 0.626 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.01394, allocations: 0.683 MB / 0.6267 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.01435, allocations: 238 kB / 0.6269 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.01483, allocations: 363.1 kB / 0.6273 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.0152, allocations: 239.3 kB / 0.6275 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.01525, allocations: 28 kB / 0.6275 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.01584, allocations: 394.8 kB / 0.6279 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.016, allocations: 147.5 kB / 0.628 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.01618, allocations: 155.6 kB / 0.6282 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.01712, allocations: 0.7553 MB / 0.6289 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.01712, allocations: 0 / 0.6289 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01712, allocations: 0 / 0.6289 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.01714, allocations: 4 kB / 0.6289 GB, free: 10.07 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001284/0.01842, allocations: 0.7304 MB / 0.6296 GB, free: 9.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.01847, allocations: 8.031 kB / 0.6297 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.0198, allocations: 188.4 kB / 0.6298 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.02045, allocations: 372.8 kB / 0.6302 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.02049, allocations: 25.36 kB / 0.6302 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.02055, allocations: 36.36 kB / 0.6303 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.02149, allocations: 0.7265 MB / 0.631 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.02151, allocations: 4.188 kB / 0.631 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.02155, allocations: 20.36 kB / 0.631 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.299e-05/0.02164, allocations: 55.84 kB / 0.631 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.02238, allocations: 0.4924 MB / 0.6315 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.02546, allocations: 3.118 MB / 0.6346 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.02714, allocations: 0.6048 MB / 0.6352 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.02738, allocations: 166.5 kB / 0.6353 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.02741, allocations: 11.94 kB / 0.6353 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.02745, allocations: 34.56 kB / 0.6354 GB, free: 3.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.02745, allocations: 4 kB / 0.6354 GB, free: 3.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002258/0.02971, allocations: 1.064 MB / 0.6364 GB, free: 2.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.02978, allocations: 106.8 kB / 0.6365 GB, free: 1.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.0302, allocations: 389.4 kB / 0.6369 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.03023, allocations: 33.7 kB / 0.6369 GB, free: 1.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.03043, allocations: 288 kB / 0.6372 GB, free: 1.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.03053, allocations: 127 kB / 0.6373 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.03067, allocations: 98.25 kB / 0.6374 GB, free: 1.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.03084, allocations: 354.8 kB / 0.6377 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.03111, allocations: 169.2 kB / 0.6379 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.03154, allocations: 389.3 kB / 0.6383 GB, free: 28 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.0323, allocations: 0.5854 MB / 0.6388 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.03231, allocations: 0 / 0.6388 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001064/0.03337, allocations: 0.6863 MB / 0.6395 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.03339, allocations: 8.281 kB / 0.6395 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.03341, allocations: 8 kB / 0.6395 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.03376, allocations: 90.5 kB / 0.6396 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.03414, allocations: 115.8 kB / 0.6397 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.03757, allocations: 3.965 MB / 0.6436 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.03788, allocations: 31.97 kB / 0.6436 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.03792, allocations: 24.94 kB / 0.6436 GB, free: 10.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.03816, allocations: 194.6 kB / 0.6438 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.03826, allocations: 47.72 kB / 0.6439 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/0.03918, allocations: 0.5106 MB / 0.6444 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.0392, allocations: 8.094 kB / 0.6444 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.0392, allocations: 0 / 0.6444 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.03921, allocations: 7.938 kB / 0.6444 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.04102, allocations: 1.147 MB / 0.6455 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.04103, allocations: 4 kB / 0.6455 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.04126, allocations: 59.89 kB / 0.6456 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.04153, allocations: 98.72 kB / 0.6457 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.04155, allocations: 12 kB / 0.6457 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.04483, allocations: 3.949 MB / 0.6495 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.04484, allocations: 4.031 kB / 0.6495 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.04577, allocations: 0.772 MB / 0.6503 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.04594, allocations: 83.95 kB / 0.6504 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.04598, allocations: 12 kB / 0.6504 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.04628, allocations: 19.97 kB / 0.6504 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.04635, allocations: 39.77 kB / 0.6504 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.04637, allocations: 16 kB / 0.6505 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002793/0.04665, allocations: 263.1 kB / 0.6507 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.04665, allocations: 0 / 0.6507 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006527/0.0473, allocations: 120 kB / 0.6508 GB, free: 2.277 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.04743, allocations: 115.1 kB / 0.6509 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.04864, allocations: 0.7748 MB / 0.6517 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.04864, allocations: 0 / 0.6517 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.04936, allocations: 0.5357 MB / 0.6522 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.05021, allocations: 133.8 kB / 0.6523 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.0516, allocations: 0.9073 MB / 0.6532 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.05189, allocations: 260.3 kB / 0.6535 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.05214, allocations: 104.3 kB / 0.6536 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.05223, allocations: 40.48 kB / 0.6536 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.05223, allocations: 0 / 0.6536 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.01133/0.06357, allocations: 5.892 MB / 0.6594 GB, free: 9.504 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896680096164346] Failed to read output from testmodel.py, exit status != 0: 0.07205344177782536 0.08569751799999994 0.06556598799999994 Calling exit ...