Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.0008072/0.0008072, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.000746/0.000746, allocations: 177.9 kB / 23.22 MB, free: 1.328 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.8557/0.8557, allocations: 177.1 MB / 203.5 MB, free: 5.613 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.7022/0.7022, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.01e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02619/0.02621, allocations: 38.35 MB / 0.6568 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.04367, allocations: 15.03 MB / 0.6715 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.04648, allocations: 250.1 kB / 0.6717 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004808/0.05129, allocations: 4.505 MB / 0.6761 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.2643/0.3155, allocations: 3.006 MB / 0.6791 GB, free: 52.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3215, allocations: 3.215 MB / 0.6822 GB, free: 52.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.3317, allocations: 11.66 MB / 0.6936 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008815/0.3405, allocations: 6.746 MB / 0.7002 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.3524, allocations: 6.882 MB / 0.7069 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007946/0.3603, allocations: 5.091 MB / 0.7119 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.3635, allocations: 0.9483 MB / 0.7128 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005656/0.3691, allocations: 1.935 MB / 0.7147 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00592/0.3751, allocations: 3.944 MB / 0.7185 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.009833/0.3849, allocations: 3.034 MB / 0.7215 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02115/0.406, allocations: 14.56 MB / 0.7357 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4061, allocations: 1.125 kB / 0.7357 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.406e-06/0.4061, allocations: 4 kB / 0.7357 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004846/0.4065, allocations: 0 / 0.7357 GB, free: 39.83 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02359/0.4301, allocations: 7.633 MB / 0.7432 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4302, allocations: 9.844 kB / 0.7432 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008258/0.4384, allocations: 1.565 MB / 0.7447 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.4488, allocations: 4.393 MB / 0.749 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.4492, allocations: 454 kB / 0.7494 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003808/0.453, allocations: 0.591 MB / 0.75 GB, free: 33.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.4783, allocations: 11.6 MB / 0.7613 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.4786, allocations: 32.62 kB / 0.7614 GB, free: 25.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/0.4805, allocations: 265.1 kB / 0.7616 GB, free: 25.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.4821, allocations: 0.7818 MB / 0.7624 GB, free: 25.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.4984, allocations: 8.537 MB / 0.7707 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04474/0.5432, allocations: 30.46 MB / 0.8005 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.5479, allocations: 3.968 MB / 0.8043 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/0.5519, allocations: 3.369 MB / 0.8076 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.5521, allocations: 34.78 kB / 0.8077 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.5521, allocations: 85.08 kB / 0.8077 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=353): time 5.32e-06/0.5521, allocations: 0 / 0.8077 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=578): time 0.2568/0.809, allocations: 121 MB / 0.926 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.8091, allocations: 119.2 kB / 0.9261 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.8123, allocations: 2.505 MB / 0.9285 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.8133, allocations: 125.7 kB / 0.9286 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.8146, allocations: 2.757 MB / 0.9313 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00207/0.8166, allocations: 2.02 MB / 0.9333 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.8181, allocations: 0.9211 MB / 0.9342 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.8181, allocations: 305.1 kB / 0.9345 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/0.8227, allocations: 4.083 MB / 0.9385 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/0.8278, allocations: 5.014 MB / 0.9434 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.8386, allocations: 9.851 MB / 0.953 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.8386, allocations: 8 kB / 0.953 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02499/0.8636, allocations: 16.73 MB / 0.9693 GB, free: 9.473 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.8637, allocations: 12 kB / 0.9693 GB, free: 9.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.8637, allocations: 24 kB / 0.9694 GB, free: 9.438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01786/0.8816, allocations: 9.066 MB / 0.9782 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.8832, allocations: 0.5334 MB / 0.9787 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3174/1.201, allocations: 74.23 MB / 1.051 GB, free: 245.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/1.204, allocations: 277.4 kB / 1.051 GB, free: 245.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/1.205, allocations: 188.3 kB / 1.052 GB, free: 245.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003878/1.209, allocations: 2.424 MB / 1.054 GB, free: 244.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009021/1.21, allocations: 474.3 kB / 1.054 GB, free: 244.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/1.232, allocations: 16.54 MB / 1.071 GB, free: 237.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.232, allocations: 53.53 kB / 1.071 GB, free: 237.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001365/1.232, allocations: 74.81 kB / 1.071 GB, free: 237.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-05/1.232, allocations: 27.52 kB / 1.071 GB, free: 237.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/1.262, allocations: 23.04 MB / 1.093 GB, free: 226.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/1.262, allocations: 8 kB / 1.093 GB, free: 226.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.263, allocations: 321.8 kB / 1.094 GB, free: 225.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/1.277, allocations: 8.255 MB / 1.102 GB, free: 219.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000667/1.278, allocations: 104 kB / 1.102 GB, free: 219.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05216/1.33, allocations: 71.1 MB / 1.171 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.33, allocations: 11.94 kB / 1.171 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/1.354, allocations: 21.28 MB / 1.192 GB, free: 125.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/1.356, allocations: 1.284 MB / 1.193 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006739/1.357, allocations: 107.9 kB / 1.193 GB, free: 124 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.359, allocations: 291.6 kB / 1.194 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/1.36, allocations: 0.5452 MB / 1.194 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/1.36, allocations: 148 kB / 1.194 GB, free: 123 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001511/1.362, allocations: 1.618 MB / 1.196 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.362, allocations: 4 kB / 1.196 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005708/1.368, allocations: 2.457 MB / 1.198 GB, free: 118.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000533/1.368, allocations: 242.9 kB / 1.199 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.382, allocations: 13.72 MB / 1.212 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.382, allocations: 7.938 kB / 1.212 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.009909/1.392, allocations: 8.993 MB / 1.221 GB, free: 95.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/1.397, allocations: 1.301 MB / 1.222 GB, free: 94.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.417, allocations: 16.65 MB / 1.238 GB, free: 77.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004336/1.421, allocations: 4.48 MB / 1.243 GB, free: 73.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/1.422, allocations: 208.4 kB / 1.243 GB, free: 72.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.994e-06/1.422, allocations: 0 / 1.243 GB, free: 72.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.7822/2.204, allocations: 476.5 MB / 1.708 GB, free: 241.9 MB / 0.8542 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.25424441881478] Failed to read output from testmodel.py, exit status != 0: 2.2106599379330873 2.217600867 1.809838084 Calling exit ...