Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0007803/0.0007803, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000798/0.000798, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8414/0.8414, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7021/0.7021, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.172e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007242/0.007264, allocations: 9.477 MB / 0.6286 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.01043, allocations: 2.998 MB / 0.6315 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.01075, allocations: 55.56 kB / 0.6316 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.01197, allocations: 0.6919 MB / 0.6323 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.01272, allocations: 0.7382 MB / 0.633 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.01348, allocations: 0.6498 MB / 0.6336 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.015, allocations: 2.784 MB / 0.6363 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.01609, allocations: 1.364 MB / 0.6377 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.01718, allocations: 1.587 MB / 0.6392 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.01847, allocations: 1.364 MB / 0.6405 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.01864, allocations: 216 kB / 0.6407 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.01909, allocations: 471.2 kB / 0.6412 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.01962, allocations: 1.048 MB / 0.6422 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.0201, allocations: 0.7134 MB / 0.6429 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.02202, allocations: 3.487 MB / 0.6463 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02203, allocations: 3.984 kB / 0.6463 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.02203, allocations: 4 kB / 0.6463 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.02205, allocations: 0 / 0.6463 GB, free: 1.371 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002167/0.02421, allocations: 1.897 MB / 0.6482 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.02425, allocations: 16.03 kB / 0.6482 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.02704, allocations: 0.9127 MB / 0.6491 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.02826, allocations: 1.12 MB / 0.6502 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.02831, allocations: 111.3 kB / 0.6503 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.02849, allocations: 140.3 kB / 0.6504 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.03152, allocations: 3.1 MB / 0.6534 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.03155, allocations: 4.188 kB / 0.6535 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.03167, allocations: 60.34 kB / 0.6535 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.0318, allocations: 182.9 kB / 0.6537 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.03424, allocations: 2.608 MB / 0.6562 GB, free: 7.039 MB / 0.6198 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.007888/0.04213, allocations: 9.026 MB / 0.665 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.04336, allocations: 1.221 MB / 0.6662 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000858/0.04421, allocations: 0.9846 MB / 0.6672 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.04426, allocations: 8.656 kB / 0.6672 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.04429, allocations: 47.2 kB / 0.6673 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.534e-06/0.04429, allocations: 0 / 0.6673 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139): time 0.2712/0.3155, allocations: 18.88 MB / 0.6857 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3155, allocations: 64.31 kB / 0.6857 GB, free: 95.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.3161, allocations: 0.9059 MB / 0.6866 GB, free: 94.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.3162, allocations: 47.73 kB / 0.6867 GB, free: 94.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3164, allocations: 0.746 MB / 0.6874 GB, free: 94.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.3165, allocations: 0.4956 MB / 0.6879 GB, free: 94.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3168, allocations: 286.6 kB / 0.6882 GB, free: 93.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.3168, allocations: 352 kB / 0.6885 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3179, allocations: 1.34 MB / 0.6898 GB, free: 93.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.319, allocations: 1.656 MB / 0.6914 GB, free: 92.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.321, allocations: 3.093 MB / 0.6944 GB, free: 90.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3211, allocations: 2.844 kB / 0.6945 GB, free: 90.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005676/0.3267, allocations: 5.56 MB / 0.6999 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3267, allocations: 10.06 kB / 0.6999 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3268, allocations: 20.97 kB / 0.6999 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/0.3309, allocations: 2.708 MB / 0.7026 GB, free: 88.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.3312, allocations: 188.4 kB / 0.7027 GB, free: 88.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.3512, allocations: 24.85 MB / 0.727 GB, free: 76.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.3518, allocations: 94.55 kB / 0.7271 GB, free: 76.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.3519, allocations: 56.52 kB / 0.7271 GB, free: 76.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007915/0.3527, allocations: 0.7354 MB / 0.7279 GB, free: 75.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3528, allocations: 121.6 kB / 0.728 GB, free: 75.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/0.3594, allocations: 5.306 MB / 0.7332 GB, free: 73.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3594, allocations: 15.03 kB / 0.7332 GB, free: 73.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3595, allocations: 18.53 kB / 0.7332 GB, free: 73.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3595, allocations: 6.422 kB / 0.7332 GB, free: 73.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008672/0.3681, allocations: 7.974 MB / 0.741 GB, free: 71.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3682, allocations: 3.5 kB / 0.741 GB, free: 71.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3684, allocations: 115 kB / 0.7411 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/0.3726, allocations: 2.582 MB / 0.7436 GB, free: 69.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/0.3726, allocations: 30.06 kB / 0.7436 GB, free: 69.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.3878, allocations: 23.3 MB / 0.7664 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3878, allocations: 7.938 kB / 0.7664 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.3929, allocations: 5.167 MB / 0.7715 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.3934, allocations: 427.1 kB / 0.7719 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.3935, allocations: 32.86 kB / 0.7719 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.3939, allocations: 75.91 kB / 0.772 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.3941, allocations: 125 kB / 0.7721 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.3942, allocations: 39.98 kB / 0.7721 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003978/0.3946, allocations: 0.62 MB / 0.7727 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 4 kB / 0.7727 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001402/0.396, allocations: 0.7188 MB / 0.7734 GB, free: 41.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.3961, allocations: 143.6 kB / 0.7736 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.3995, allocations: 4.09 MB / 0.7776 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3995, allocations: 0 / 0.7776 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.4017, allocations: 2.608 MB / 0.7801 GB, free: 34.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.4024, allocations: 221.1 kB / 0.7803 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.4057, allocations: 4.316 MB / 0.7845 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.4065, allocations: 1.14 MB / 0.7857 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.4066, allocations: 64.48 kB / 0.7857 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/0.4066, allocations: 0 / 0.7857 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.03155/0.4382, allocations: 60.56 MB / 0.8449 GB, free: 176 kB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.919422038830817] Failed to read output from testmodel.py, exit status != 0: 0.443769502453506 0.451098312 0.427343093 Calling exit ...