Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001261/0.001261, allocations: 79.11 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.001381/0.001381, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.156 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.177/1.177, allocations: 154.7 MB / 413.9 MB, free: 5.145 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6188 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.629e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0267/0.02674, allocations: 21.11 MB / 0.6394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.03859, allocations: 6.119 MB / 0.6454 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.04068, allocations: 123.1 kB / 0.6455 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.04529, allocations: 1.566 MB / 0.647 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.05042, allocations: 1.733 MB / 0.6487 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.05425, allocations: 1.354 MB / 0.65 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00787/0.06212, allocations: 5.944 MB / 0.6558 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006166/0.06829, allocations: 3.202 MB / 0.659 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.07495, allocations: 3.419 MB / 0.6623 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.07993, allocations: 2.767 MB / 0.665 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.08123, allocations: 456 kB / 0.6654 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.08398, allocations: 1.045 MB / 0.6664 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/0.08701, allocations: 2.096 MB / 0.6685 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.09033, allocations: 1.497 MB / 0.67 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009386/0.09971, allocations: 7.433 MB / 0.6772 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.09972, allocations: 4 kB / 0.6772 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.09972, allocations: 0 / 0.6772 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002278/0.09995, allocations: 0 / 0.6772 GB, free: 8.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009418/0.1094, allocations: 3.841 MB / 0.681 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1094, allocations: 12.03 kB / 0.681 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/0.1159, allocations: 1.231 MB / 0.6822 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.121, allocations: 2.305 MB / 0.6844 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.1213, allocations: 246.3 kB / 0.6847 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009564/0.1223, allocations: 311.9 kB / 0.685 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.1341, allocations: 6.442 MB / 0.6913 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-05/0.1342, allocations: 19.81 kB / 0.6913 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.1346, allocations: 143.9 kB / 0.6914 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.1351, allocations: 398.3 kB / 0.6918 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008264/0.1433, allocations: 4.658 MB / 0.6963 GB, free: 4.402 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3566/0.5, allocations: 18.05 MB / 0.714 GB, free: 70.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5016, allocations: 1.367 MB / 0.7153 GB, free: 69.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.5031, allocations: 1.433 MB / 0.7167 GB, free: 69.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.5032, allocations: 13.31 kB / 0.7167 GB, free: 69.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5032, allocations: 46.42 kB / 0.7168 GB, free: 69.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.176e-06/0.5032, allocations: 0 / 0.7168 GB, free: 69.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=179): time 0.122/0.6252, allocations: 37.06 MB / 0.753 GB, free: 51.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.6253, allocations: 77.39 kB / 0.753 GB, free: 51.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.6268, allocations: 1.359 MB / 0.7544 GB, free: 50.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.627, allocations: 56.98 kB / 0.7544 GB, free: 49.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/0.6276, allocations: 1.587 MB / 0.756 GB, free: 48.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.628, allocations: 0.6474 MB / 0.7566 GB, free: 48.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006004/0.6286, allocations: 379.5 kB / 0.757 GB, free: 47.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.6287, allocations: 309.1 kB / 0.7573 GB, free: 47.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.6306, allocations: 1.788 MB / 0.759 GB, free: 45.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.6326, allocations: 2.35 MB / 0.7613 GB, free: 42.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.6368, allocations: 4.383 MB / 0.7656 GB, free: 38.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.6368, allocations: 4 kB / 0.7656 GB, free: 38.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01458/0.6514, allocations: 8.423 MB / 0.7738 GB, free: 29.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.6514, allocations: 13 kB / 0.7738 GB, free: 29.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.6514, allocations: 20 kB / 0.7738 GB, free: 29.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/0.6637, allocations: 4.612 MB / 0.7783 GB, free: 25.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6647, allocations: 303.4 kB / 0.7786 GB, free: 24.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03878/0.7035, allocations: 31.41 MB / 0.8093 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.7056, allocations: 147.8 kB / 0.8094 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.7058, allocations: 83.98 kB / 0.8095 GB, free: 8.676 MB / 0.6231 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002383/0.7082, allocations: 1.337 MB / 0.8108 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/0.7087, allocations: 198.8 kB / 0.811 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/0.7268, allocations: 8.292 MB / 0.8191 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.7268, allocations: 16 kB / 0.8191 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.7269, allocations: 31.94 kB / 0.8192 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.72e-05/0.7269, allocations: 11.95 kB / 0.8192 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/0.7516, allocations: 11.64 MB / 0.8305 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.7516, allocations: 8.125 kB / 0.8306 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.7523, allocations: 163.8 kB / 0.8307 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.7667, allocations: 4.473 MB / 0.8351 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/0.767, allocations: 36 kB / 0.8351 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.049/0.816, allocations: 31.02 MB / 0.8654 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.816, allocations: 11.94 kB / 0.8654 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.8334, allocations: 8.077 MB / 0.8733 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.8351, allocations: 0.5453 MB / 0.8738 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.8354, allocations: 43.95 kB / 0.8739 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8368, allocations: 139.8 kB / 0.874 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008323/0.8376, allocations: 184.6 kB / 0.8742 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8378, allocations: 50.91 kB / 0.8742 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001358/0.8391, allocations: 0.9015 MB / 0.8751 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8391, allocations: 0 / 0.8751 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003605/0.8427, allocations: 1.109 MB / 0.8762 GB, free: 3.496 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/0.8431, allocations: 155 kB / 0.8763 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01305/0.8561, allocations: 6.284 MB / 0.8825 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.8562, allocations: 8.812 kB / 0.8825 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/0.8662, allocations: 4.172 MB / 0.8866 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.8692, allocations: 0.5154 MB / 0.8871 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.8825, allocations: 6.97 MB / 0.8939 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/0.8858, allocations: 2.165 MB / 0.896 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001211/0.887, allocations: 379.7 kB / 0.8964 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.8872, allocations: 88.5 kB / 0.8964 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.8872, allocations: 0 / 0.8964 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.1018/0.9891, allocations: 63.78 MB / 0.9587 GB, free: 15.24 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.742757771164179] Failed to read output from testmodel.py, exit status != 0: 0.9993976950645447 1.014393831 0.911378561 Calling exit ...