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.0007613/0.0007613, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007494/0.0007494, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8513/0.8513, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-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 0.6893/0.6893, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.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.372e-06/1.372e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.793e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003698/0.003716, allocations: 4.092 MB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.005968, allocations: 2.295 MB / 0.6256 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.006147, allocations: 27.75 kB / 0.6256 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.006822, allocations: 376.7 kB / 0.626 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.007321, allocations: 397.7 kB / 0.6263 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.007719, allocations: 322.9 kB / 0.6266 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.008237, allocations: 0.7023 MB / 0.6273 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.008548, allocations: 234.9 kB / 0.6276 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.008901, allocations: 367 kB / 0.6279 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.009173, allocations: 243.2 kB / 0.6281 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.00921, allocations: 35.94 kB / 0.6282 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.009583, allocations: 390.9 kB / 0.6285 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.009697, allocations: 151.5 kB / 0.6287 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.009806, allocations: 155.6 kB / 0.6288 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.01042, allocations: 0.7554 MB / 0.6296 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01042, allocations: 0 / 0.6296 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01042, allocations: 0 / 0.6296 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.01043, allocations: 0 / 0.6296 GB, free: 2.641 MB / 0.5886 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.0008033/0.01123, allocations: 0.7265 MB / 0.6303 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.01128, allocations: 8.031 kB / 0.6303 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.012, allocations: 188.4 kB / 0.6305 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.01241, allocations: 372.8 kB / 0.6308 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.01243, allocations: 33.34 kB / 0.6309 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.01247, allocations: 36.36 kB / 0.6309 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.01308, allocations: 0.7226 MB / 0.6316 GB, free: 420 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.0131, allocations: 8.141 kB / 0.6316 GB, free: 412 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.01313, allocations: 20.36 kB / 0.6316 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.01318, allocations: 55.84 kB / 0.6317 GB, free: 336 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.01364, allocations: 499.4 kB / 0.6322 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.01532, allocations: 3.125 MB / 0.6352 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.01622, allocations: 0.6048 MB / 0.6358 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.01637, allocations: 166.5 kB / 0.636 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.01639, allocations: 7.938 kB / 0.636 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.01641, allocations: 34.56 kB / 0.636 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.01641, allocations: 0 / 0.636 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001236/0.01764, allocations: 1.06 MB / 0.637 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.01769, allocations: 114.7 kB / 0.6371 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.01794, allocations: 385.4 kB / 0.6375 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01795, allocations: 29.7 kB / 0.6375 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01808, allocations: 296 kB / 0.6378 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.01814, allocations: 119 kB / 0.6379 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.01822, allocations: 102.2 kB / 0.638 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.01831, allocations: 350.8 kB / 0.6384 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.01848, allocations: 181.2 kB / 0.6385 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.01872, allocations: 372.2 kB / 0.6389 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.01918, allocations: 0.5867 MB / 0.6395 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.01918, allocations: 4 kB / 0.6395 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006581/0.01984, allocations: 0.6817 MB / 0.6401 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01986, allocations: 8 kB / 0.6401 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01987, allocations: 4.938 kB / 0.6401 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.0201, allocations: 99.25 kB / 0.6402 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.0203, allocations: 115.8 kB / 0.6404 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.02222, allocations: 3.957 MB / 0.6442 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.02238, allocations: 31.97 kB / 0.6442 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.0224, allocations: 24 kB / 0.6443 GB, free: 2.668 MB / 0.6042 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.0001431/0.02254, allocations: 194.9 kB / 0.6445 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.0226, allocations: 47.72 kB / 0.6445 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.02311, allocations: 0.5223 MB / 0.645 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.02312, allocations: 9.109 kB / 0.645 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.02312, allocations: 0 / 0.645 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.02312, allocations: 0 / 0.645 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.02412, allocations: 1.154 MB / 0.6461 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02413, allocations: 7.938 kB / 0.6462 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.02424, allocations: 63.89 kB / 0.6462 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.02437, allocations: 86.5 kB / 0.6463 GB, free: 492 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.02439, allocations: 12 kB / 0.6463 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.02607, allocations: 3.958 MB / 0.6502 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.02607, allocations: 4 kB / 0.6502 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.02659, allocations: 0.7682 MB / 0.6509 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.02668, allocations: 71.67 kB / 0.651 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.0267, allocations: 12 kB / 0.651 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02685, allocations: 23.97 kB / 0.651 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.02689, allocations: 35.83 kB / 0.6511 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.02691, allocations: 16 kB / 0.6511 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001602/0.02707, allocations: 263.1 kB / 0.6513 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.02707, allocations: 4.094 kB / 0.6513 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003893/0.02746, allocations: 120 kB / 0.6514 GB, free: 10.84 MB / 0.6198 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.0001004/0.02756, allocations: 107.1 kB / 0.6516 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.02824, allocations: 0.7814 MB / 0.6523 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02824, allocations: 3.938 kB / 0.6523 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.02858, allocations: 0.5331 MB / 0.6528 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.02911, allocations: 131.9 kB / 0.653 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.03003, allocations: 0.9542 MB / 0.6539 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.03019, allocations: 256.3 kB / 0.6541 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.03027, allocations: 44.48 kB / 0.6542 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.03027, allocations: 0 / 0.6542 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of Templates: time 0.007917/0.03819, allocations: 11.2 MB / 0.6651 GB, free: 12.71 MB / 0.6355 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.989073430188] Failed to read output from testmodel.py, exit status != 0: 0.04320249892771244 0.30998352100000004 0.039464412000000004 Calling exit ...