Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0009684/0.0009684, allocations: 81.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.001228/0.001228, allocations: 169 kB / 23.28 MB, free: 1.219 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.9248/0.9248, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7444/0.7444, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.549e-05, allocations: 6.859 kB / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00608/0.006106, allocations: 6.498 MB / 0.5271 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.0098, allocations: 2.21 MB / 0.5293 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.01051, allocations: 47.62 kB / 0.5293 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.01125, allocations: 263.1 kB / 0.5296 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.01235, allocations: 0.7068 MB / 0.5303 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.01343, allocations: 0.6595 MB / 0.5309 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002904/0.01633, allocations: 3.007 MB / 0.5339 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.01813, allocations: 1.426 MB / 0.5353 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.02111, allocations: 1.727 MB / 0.5369 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.02391, allocations: 1.632 MB / 0.5385 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007007/0.02461, allocations: 237.5 kB / 0.5388 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009499/0.02556, allocations: 327.8 kB / 0.5391 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.02674, allocations: 1.165 MB / 0.5402 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.02809, allocations: 0.7874 MB / 0.541 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.03081, allocations: 2.14 MB / 0.5431 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.03082, allocations: 0 / 0.5431 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.03082, allocations: 0 / 0.5431 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.682e-05/0.0309, allocations: 0 / 0.5431 GB, free: 10.99 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003911/0.03481, allocations: 2.254 MB / 0.5453 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.03485, allocations: 14.47 kB / 0.5453 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.04071, allocations: 1.291 MB / 0.5465 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.04252, allocations: 1.041 MB / 0.5476 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/0.04262, allocations: 115.3 kB / 0.5477 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.04295, allocations: 148.3 kB / 0.5478 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.04574, allocations: 1.659 MB / 0.5494 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.04578, allocations: 5.062 kB / 0.5494 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.04596, allocations: 64.34 kB / 0.5495 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.04618, allocations: 207.1 kB / 0.5497 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.04786, allocations: 0.6615 MB / 0.5503 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.05912, allocations: 8.284 MB / 0.5584 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.06013, allocations: 0.5541 MB / 0.559 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/0.06105, allocations: 394.3 kB / 0.5593 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.493e-05/0.06113, allocations: 18.34 kB / 0.5594 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.06116, allocations: 46.39 kB / 0.5594 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.06117, allocations: 0 / 0.5594 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183): time 0.01761/0.07877, allocations: 8.222 MB / 0.5674 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.07882, allocations: 77.34 kB / 0.5675 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.07956, allocations: 0.8695 MB / 0.5684 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.07983, allocations: 57.7 kB / 0.5684 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.08026, allocations: 0.8745 MB / 0.5693 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/0.08083, allocations: 0.6779 MB / 0.5699 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.0813, allocations: 357 kB / 0.5703 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.08141, allocations: 476.8 kB / 0.5707 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.08195, allocations: 355.7 kB / 0.5711 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.08271, allocations: 0.8678 MB / 0.5719 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.08433, allocations: 1.328 MB / 0.5732 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.08434, allocations: 4 kB / 0.5732 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007524/0.09186, allocations: 4.137 MB / 0.5773 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.09189, allocations: 8 kB / 0.5773 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.0919, allocations: 8 kB / 0.5773 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008037/0.09994, allocations: 3.226 MB / 0.5804 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.1004, allocations: 175.7 kB / 0.5806 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.1202, allocations: 17.88 MB / 0.598 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.1213, allocations: 48 kB / 0.5981 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.1214, allocations: 52 kB / 0.5981 GB, free: 1.379 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005401/0.1219, allocations: 256.1 kB / 0.5984 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.1222, allocations: 199.1 kB / 0.5986 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007135/0.1294, allocations: 4.154 MB / 0.6026 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1294, allocations: 20 kB / 0.6027 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.478e-05/0.1294, allocations: 28 kB / 0.6027 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.1295, allocations: 11.95 kB / 0.6027 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.1401, allocations: 6.132 MB / 0.6087 GB, free: 6.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.1401, allocations: 8.062 kB / 0.6087 GB, free: 6.402 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.1404, allocations: 107.8 kB / 0.6088 GB, free: 6.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007802/0.1482, allocations: 3.124 MB / 0.6118 GB, free: 3.156 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.1485, allocations: 32 kB / 0.6119 GB, free: 3.125 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/0.1669, allocations: 16.51 MB / 0.628 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1669, allocations: 4 kB / 0.628 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007613/0.1746, allocations: 4.129 MB / 0.632 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/0.1753, allocations: 418.8 kB / 0.6324 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.1754, allocations: 31.94 kB / 0.6325 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.176, allocations: 36 kB / 0.6325 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005591/0.1765, allocations: 165.6 kB / 0.6327 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.1766, allocations: 39.94 kB / 0.6327 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003749/0.177, allocations: 0.4952 MB / 0.6332 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.177, allocations: 0 / 0.6332 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002128/0.1791, allocations: 1.012 MB / 0.6342 GB, free: 11.7 MB / 0.6042 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.1793, allocations: 141.3 kB / 0.6343 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.1831, allocations: 3.034 MB / 0.6373 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.1831, allocations: 4 kB / 0.6373 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.1865, allocations: 2.579 MB / 0.6398 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.1874, allocations: 237.1 kB / 0.64 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.1922, allocations: 4.004 MB / 0.6439 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.1929, allocations: 0.635 MB / 0.6445 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.1932, allocations: 115.5 kB / 0.6447 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.1935, allocations: 246.1 kB / 0.6449 GB, free: 464 kB / 0.6042 GB Notification: Performance of SimCode: time 1.322e-06/0.1935, allocations: 0 / 0.6449 GB, free: 464 kB / 0.6042 GB Notification: Performance of Templates: time 0.2684/0.462, allocations: 67.02 MB / 0.7103 GB, free: 167 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.554368536919355]