Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009288/0.0009288, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001289/0.001289, allocations: 169 kB / 23.27 MB, free: 1.223 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.9027/0.9027, allocations: 177.1 MB / 203.7 MB, free: 5.484 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-545:108: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-545:116: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.7394/0.7394, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.5208 GB, free: 1.848 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.122e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.844 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01317/0.01319, allocations: 19.46 MB / 0.5398 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007466/0.02066, allocations: 5.589 MB / 0.5453 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.02217, allocations: 194.6 kB / 0.5454 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.02344, allocations: 0.8336 MB / 0.5463 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.02554, allocations: 1.86 MB / 0.5481 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.0276, allocations: 1.637 MB / 0.5497 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005233/0.03283, allocations: 8.031 MB / 0.5575 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004498/0.03733, allocations: 5.208 MB / 0.5626 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.04156, allocations: 4.865 MB / 0.5673 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.04482, allocations: 3.753 MB / 0.571 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0007727/0.0456, allocations: 0.6758 MB / 0.5717 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.04656, allocations: 0.7717 MB / 0.5724 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.04815, allocations: 2.837 MB / 0.5752 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.0501, allocations: 2.171 MB / 0.5773 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.05485, allocations: 5.321 MB / 0.5825 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05486, allocations: 0 / 0.5825 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.243e-06/0.05486, allocations: 0 / 0.5825 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001639/0.05502, allocations: 0 / 0.5825 GB, free: 2.422 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.00686/0.06188, allocations: 5.616 MB / 0.588 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.06192, allocations: 12.03 kB / 0.588 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.06488, allocations: 1.308 MB / 0.5893 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.06831, allocations: 2.806 MB / 0.592 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.06853, allocations: 361.9 kB / 0.5924 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.0691, allocations: 481.6 kB / 0.5928 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/0.07446, allocations: 5.065 MB / 0.5978 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.554e-05/0.07455, allocations: 23.95 kB / 0.5978 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.07493, allocations: 209 kB / 0.598 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.07533, allocations: 373 kB / 0.5984 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.07785, allocations: 1.46 MB / 0.5998 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.09616, allocations: 25.05 MB / 0.6242 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.09764, allocations: 0.7662 MB / 0.625 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.09831, allocations: 0.5323 MB / 0.6255 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.09838, allocations: 26.81 kB / 0.6255 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.09842, allocations: 58.69 kB / 0.6256 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 3.416e-06/0.09842, allocations: 0 / 0.6256 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=160): time 0.005709/0.1041, allocations: 3.103 MB / 0.6286 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1042, allocations: 72.66 kB / 0.6287 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.1055, allocations: 1.557 MB / 0.6302 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.1056, allocations: 53.64 kB / 0.6303 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.1069, allocations: 2.258 MB / 0.6325 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.1073, allocations: 0.6013 MB / 0.6331 GB, free: 13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.1078, allocations: 421.6 kB / 0.6335 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1079, allocations: 476.8 kB / 0.6339 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.1083, allocations: 281.8 kB / 0.6342 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.1093, allocations: 1.285 MB / 0.6354 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.111, allocations: 1.767 MB / 0.6372 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.111, allocations: 8 kB / 0.6372 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002774/0.1138, allocations: 2.144 MB / 0.6393 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1138, allocations: 18.5 kB / 0.6393 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.1138, allocations: 24 kB / 0.6393 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.1151, allocations: 0.7108 MB / 0.64 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.1158, allocations: 383.3 kB / 0.6404 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009766/0.1256, allocations: 22.67 MB / 0.6625 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.1261, allocations: 68 kB / 0.6626 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.1262, allocations: 72 kB / 0.6626 GB, free: 12.37 MB / 0.6355 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.0006866/0.1269, allocations: 303.9 kB / 0.6629 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.1271, allocations: 294.5 kB / 0.6632 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.1288, allocations: 1.571 MB / 0.6647 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1288, allocations: 16 kB / 0.6648 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1288, allocations: 15.94 kB / 0.6648 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1288, allocations: 7.969 kB / 0.6648 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004779/0.1336, allocations: 3.833 MB / 0.6685 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1336, allocations: 8.562 kB / 0.6685 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.134, allocations: 171.7 kB / 0.6687 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.1352, allocations: 0.6756 MB / 0.6694 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.1353, allocations: 31.98 kB / 0.6694 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2255/0.3608, allocations: 22.62 MB / 0.6915 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3608, allocations: 9.688 kB / 0.6915 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3629, allocations: 1.853 MB / 0.6933 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.3635, allocations: 399.1 kB / 0.6937 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.3636, allocations: 33.69 kB / 0.6937 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.3641, allocations: 36.3 kB / 0.6937 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.3643, allocations: 146.7 kB / 0.6939 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.3643, allocations: 42.09 kB / 0.6939 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005319/0.3649, allocations: 0.8252 MB / 0.6947 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3649, allocations: 0 / 0.6947 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001968/0.3668, allocations: 0.9076 MB / 0.6956 GB, free: 138.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.3671, allocations: 161 kB / 0.6958 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.3694, allocations: 3.554 MB / 0.6992 GB, free: 136 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3694, allocations: 2.844 kB / 0.6992 GB, free: 136 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3708, allocations: 2.926 MB / 0.7021 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.3724, allocations: 0.7672 MB / 0.7028 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.3803, allocations: 6.976 MB / 0.7097 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.3814, allocations: 1.174 MB / 0.7108 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008364/0.3822, allocations: 295.3 kB / 0.7111 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.3832, allocations: 0.7362 MB / 0.7118 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/0.3832, allocations: 0 / 0.7118 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.05651/0.4397, allocations: 45.36 MB / 0.7561 GB, free: 115.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.777758167125285]