Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001256/0.001256, allocations: 77.25 kB / 19.18 MB, free: 2.512 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.001401/0.001401, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.412/1.412, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.219/1.219, allocations: 154.6 MB / 413.8 MB, free: 5.191 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.309e-05, allocations: 4.531 kB / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03223/0.03227, allocations: 25.06 MB / 0.6431 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.0473, allocations: 7.969 MB / 0.6509 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.0497, allocations: 150.8 kB / 0.651 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007886/0.05759, allocations: 2.783 MB / 0.6537 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.06271, allocations: 1.724 MB / 0.6554 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.06754, allocations: 1.694 MB / 0.6571 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009503/0.07704, allocations: 6.254 MB / 0.6632 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006335/0.08338, allocations: 3.766 MB / 0.6668 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007518/0.0909, allocations: 3.723 MB / 0.6705 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00457/0.09547, allocations: 2.634 MB / 0.673 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008874/0.09635, allocations: 0.5117 MB / 0.6735 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.09896, allocations: 1.22 MB / 0.6747 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.1017, allocations: 2.194 MB / 0.6769 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0033/0.105, allocations: 1.657 MB / 0.6785 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.1166, allocations: 8.208 MB / 0.6865 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1166, allocations: 0 / 0.6865 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1166, allocations: 0 / 0.6865 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000296/0.1169, allocations: 3.938 kB / 0.6865 GB, free: 14.67 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01063/0.1276, allocations: 4.221 MB / 0.6906 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1276, allocations: 8.031 kB / 0.6906 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.1321, allocations: 0.8297 MB / 0.6915 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.1378, allocations: 2.529 MB / 0.6939 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.1381, allocations: 271.6 kB / 0.6942 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008797/0.139, allocations: 372.8 kB / 0.6945 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3176/0.4565, allocations: 6.45 MB / 0.7008 GB, free: 79.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.4567, allocations: 16.09 kB / 0.7009 GB, free: 79.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/0.4571, allocations: 161.1 kB / 0.701 GB, free: 79.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006545/0.4578, allocations: 284.8 kB / 0.7013 GB, free: 79.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008461/0.4662, allocations: 4.521 MB / 0.7057 GB, free: 78.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.4854, allocations: 17.37 MB / 0.7227 GB, free: 66.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4871, allocations: 1.059 MB / 0.7237 GB, free: 66.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.4885, allocations: 0.9516 MB / 0.7246 GB, free: 66.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.569e-05/0.4886, allocations: 11.78 kB / 0.7246 GB, free: 66.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.4886, allocations: 48.64 kB / 0.7247 GB, free: 65.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/0.4886, allocations: 0 / 0.7247 GB, free: 65.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02103/0.5097, allocations: 9.087 MB / 0.7335 GB, free: 62.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.5097, allocations: 71.02 kB / 0.7336 GB, free: 62.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.5114, allocations: 1.398 MB / 0.735 GB, free: 61.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.5115, allocations: 52.17 kB / 0.735 GB, free: 61.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.5123, allocations: 1.729 MB / 0.7367 GB, free: 60.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.5125, allocations: 488.7 kB / 0.7372 GB, free: 60.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.513, allocations: 325.4 kB / 0.7375 GB, free: 59.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.5131, allocations: 302.3 kB / 0.7378 GB, free: 59.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.5142, allocations: 0.9164 MB / 0.7387 GB, free: 59.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.5156, allocations: 1.461 MB / 0.7401 GB, free: 58.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.5184, allocations: 2.548 MB / 0.7426 GB, free: 56.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.5184, allocations: 12.39 kB / 0.7426 GB, free: 56.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005269/0.5237, allocations: 3.254 MB / 0.7458 GB, free: 54.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.5237, allocations: 15.78 kB / 0.7458 GB, free: 54.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.5238, allocations: 23.69 kB / 0.7458 GB, free: 54.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.5258, allocations: 0.7373 MB / 0.7465 GB, free: 54.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.5273, allocations: 389.3 kB / 0.7469 GB, free: 53.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.5385, allocations: 15.81 MB / 0.7624 GB, free: 39.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5402, allocations: 101.4 kB / 0.7624 GB, free: 39.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5403, allocations: 75.34 kB / 0.7625 GB, free: 39.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001867/0.5422, allocations: 1.314 MB / 0.7638 GB, free: 38.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5425, allocations: 199 kB / 0.764 GB, free: 38.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.5467, allocations: 2.757 MB / 0.7667 GB, free: 35.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5467, allocations: 16 kB / 0.7667 GB, free: 35.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5467, allocations: 10.53 kB / 0.7667 GB, free: 35.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5468, allocations: 8.156 kB / 0.7667 GB, free: 35.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007539/0.5543, allocations: 5.34 MB / 0.7719 GB, free: 29.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.5543, allocations: 4 kB / 0.7719 GB, free: 29.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.5554, allocations: 235.6 kB / 0.7722 GB, free: 29.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.5572, allocations: 0.6593 MB / 0.7728 GB, free: 29.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.5573, allocations: 32 kB / 0.7728 GB, free: 29.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.5679, allocations: 15.55 MB / 0.788 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.5679, allocations: 11.92 kB / 0.788 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.5728, allocations: 3.97 MB / 0.7919 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.5736, allocations: 374.8 kB / 0.7923 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.5738, allocations: 39.94 kB / 0.7923 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.5747, allocations: 79.89 kB / 0.7924 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.575, allocations: 120.6 kB / 0.7925 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.479e-05/0.5751, allocations: 44 kB / 0.7925 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000951/0.576, allocations: 0.9048 MB / 0.7934 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.576, allocations: 0 / 0.7934 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002023/0.578, allocations: 0.6797 MB / 0.7941 GB, free: 6.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002192/0.5782, allocations: 162 kB / 0.7942 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.5822, allocations: 3.374 MB / 0.7975 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5822, allocations: 4 kB / 0.7975 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.5846, allocations: 2.241 MB / 0.7997 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.5873, allocations: 0.6356 MB / 0.8003 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5988, allocations: 6.5 MB / 0.8067 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/0.6015, allocations: 2.113 MB / 0.8088 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001599/0.6031, allocations: 468.5 kB / 0.8092 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.6035, allocations: 116.5 kB / 0.8093 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of SimCode: time 1.703e-06/0.6035, allocations: 0 / 0.8093 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.06042/0.6639, allocations: 33.44 MB / 0.842 GB, free: 5.625 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.130975678563118] Failed to read output from testmodel.py, exit status != 0: 0.6736049354076385 0.687446915 0.567633017 Calling exit ...