Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001885/0.001885, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002086/0.002086, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 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-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 1.313/1.313, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.544e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0555/0.05554, allocations: 38.29 MB / 0.557 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.0795, allocations: 11.24 MB / 0.568 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005459/0.08495, allocations: 203.2 kB / 0.5682 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0143/0.09925, allocations: 4.512 MB / 0.5726 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.1078, allocations: 2.398 MB / 0.5749 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.007432/0.1153, allocations: 2.198 MB / 0.5771 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.1302, allocations: 9.47 MB / 0.5863 GB, free: 14.1 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0166/0.1468, allocations: 6.367 MB / 0.5926 GB, free: 7.613 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/0.1622, allocations: 5.822 MB / 0.5982 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.1739, allocations: 4.497 MB / 0.6026 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.003398/0.1773, allocations: 0.8203 MB / 0.6034 GB, free: 12.46 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.1835, allocations: 1.513 MB / 0.6049 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.006929/0.1905, allocations: 3.422 MB / 0.6083 GB, free: 7.512 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00848/0.1989, allocations: 2.597 MB / 0.6108 GB, free: 4.91 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.2213, allocations: 12.63 MB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2213, allocations: 4.562 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2213, allocations: 0 / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000449/0.2218, allocations: 0.6875 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02245/0.2442, allocations: 7.282 MB / 0.6302 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.2443, allocations: 9.719 kB / 0.6303 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00956/0.2538, allocations: 1.706 MB / 0.6319 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.2646, allocations: 3.51 MB / 0.6353 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005397/0.2651, allocations: 431.7 kB / 0.6358 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.2675, allocations: 0.553 MB / 0.6363 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.2885, allocations: 6.968 MB / 0.6431 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.2887, allocations: 20.02 kB / 0.6431 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/0.2904, allocations: 252.7 kB / 0.6434 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008326/0.2912, allocations: 418.9 kB / 0.6438 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3025, allocations: 2.467 MB / 0.6462 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3302/0.6327, allocations: 34.84 MB / 0.6802 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.6358, allocations: 1.586 MB / 0.6817 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.6376, allocations: 1.017 MB / 0.6827 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.6377, allocations: 36.16 kB / 0.6828 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6377, allocations: 66.45 kB / 0.6828 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 4.278e-06/0.6378, allocations: 0 / 0.6828 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.02047/0.6582, allocations: 6.883 MB / 0.6896 GB, free: 158 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6583, allocations: 72.19 kB / 0.6896 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/0.661, allocations: 2.375 MB / 0.692 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003002/0.6613, allocations: 62.52 kB / 0.692 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.6626, allocations: 2.661 MB / 0.6946 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.6633, allocations: 0.8436 MB / 0.6954 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/0.6641, allocations: 0.5736 MB / 0.696 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.6641, allocations: 476.8 kB / 0.6964 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.6653, allocations: 0.6096 MB / 0.697 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.6668, allocations: 1.745 MB / 0.6987 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.6697, allocations: 2.71 MB / 0.7014 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.6698, allocations: 9.875 kB / 0.7014 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006046/0.6758, allocations: 3.263 MB / 0.7046 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.6759, allocations: 19.66 kB / 0.7046 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.181e-05/0.6759, allocations: 25.69 kB / 0.7046 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004625/0.6805, allocations: 1.331 MB / 0.7059 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.6823, allocations: 457.1 kB / 0.7064 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.6985, allocations: 13.48 MB / 0.7195 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.7012, allocations: 145 kB / 0.7197 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.7015, allocations: 115.6 kB / 0.7198 GB, free: 141.3 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001767/0.7033, allocations: 471.2 kB / 0.7202 GB, free: 141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006882/0.704, allocations: 351 kB / 0.7206 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/0.7094, allocations: 2.523 MB / 0.723 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.7094, allocations: 24.09 kB / 0.7231 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.7094, allocations: 19.22 kB / 0.7231 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.7094, allocations: 9.609 kB / 0.7231 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.7239, allocations: 7.951 MB / 0.7308 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7239, allocations: 3.812 kB / 0.7308 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.7249, allocations: 230.4 kB / 0.7311 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/0.7287, allocations: 1.173 MB / 0.7322 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.7288, allocations: 39.89 kB / 0.7323 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.7432, allocations: 13.42 MB / 0.7454 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.7432, allocations: 13.02 kB / 0.7454 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.7486, allocations: 2.888 MB / 0.7482 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.7503, allocations: 0.5095 MB / 0.7487 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/0.7508, allocations: 40.23 kB / 0.7487 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.7521, allocations: 114.4 kB / 0.7488 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006057/0.7527, allocations: 190.5 kB / 0.749 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.7529, allocations: 63.19 kB / 0.7491 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001625/0.7545, allocations: 1.314 MB / 0.7504 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.7545, allocations: 4 kB / 0.7504 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003724/0.7582, allocations: 1.141 MB / 0.7515 GB, free: 122.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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.7585, allocations: 160.9 kB / 0.7516 GB, free: 122 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005776/0.7643, allocations: 3.555 MB / 0.7551 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.7643, allocations: 4 kB / 0.7551 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/0.768, allocations: 2.496 MB / 0.7575 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/0.7715, allocations: 0.8215 MB / 0.7583 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.7856, allocations: 8.635 MB / 0.7668 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/0.7893, allocations: 2.817 MB / 0.7695 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001778/0.7911, allocations: 455.4 kB / 0.77 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.7914, allocations: 140.4 kB / 0.7701 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.114e-06/0.7914, allocations: 0 / 0.7701 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.06668/0.8581, allocations: 52.45 MB / 0.8213 GB, free: 54.12 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.078650295967236]