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.001211/0.001211, allocations: 93.06 kB / 19.65 MB, free: 280 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.001352/0.001352, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.8621/0.8621, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7437/0.7437, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.333e-06/1.333e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.484e-05, allocations: 8.141 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005656/0.005671, allocations: 6.642 MB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.008792, allocations: 2.218 MB / 0.529 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.009151, allocations: 43.69 kB / 0.529 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.009737, allocations: 262.2 kB / 0.5293 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.01055, allocations: 0.7058 MB / 0.53 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.01139, allocations: 0.6668 MB / 0.5306 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.01347, allocations: 3.007 MB / 0.5336 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.01483, allocations: 1.419 MB / 0.5349 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.01631, allocations: 1.727 MB / 0.5366 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.01775, allocations: 1.629 MB / 0.5382 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.01803, allocations: 236 kB / 0.5384 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.01847, allocations: 338.1 kB / 0.5388 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.01913, allocations: 1.161 MB / 0.5399 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.01978, allocations: 0.7836 MB / 0.5407 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.02125, allocations: 2.135 MB / 0.5428 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.02126, allocations: 0 / 0.5428 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.042e-06/0.02126, allocations: 3.938 kB / 0.5428 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.552e-05/0.02129, allocations: 0 / 0.5428 GB, free: 11.18 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.002252/0.02354, allocations: 2.267 MB / 0.545 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.02357, allocations: 8.031 kB / 0.545 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.02802, allocations: 1.642 MB / 0.5466 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.02927, allocations: 1.175 MB / 0.5477 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.02933, allocations: 111.4 kB / 0.5478 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.02953, allocations: 152.3 kB / 0.548 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.03175, allocations: 1.82 MB / 0.5498 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.03178, allocations: 4.125 kB / 0.5498 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.03192, allocations: 72.33 kB / 0.5498 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.03208, allocations: 211.1 kB / 0.55 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.03385, allocations: 0.8491 MB / 0.5509 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007818/0.04166, allocations: 8.974 MB / 0.5596 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.04262, allocations: 0.6449 MB / 0.5603 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.04329, allocations: 459.5 kB / 0.5607 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.04336, allocations: 17 kB / 0.5607 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.04339, allocations: 54.38 kB / 0.5608 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 2.264e-06/0.04339, allocations: 1.594 kB / 0.5608 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183): time 0.01813/0.06152, allocations: 9.443 MB / 0.57 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.06156, allocations: 69.41 kB / 0.5701 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.06228, allocations: 0.9013 MB / 0.5709 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.06239, allocations: 57.7 kB / 0.571 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.06279, allocations: 0.8667 MB / 0.5718 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.06321, allocations: 0.6663 MB / 0.5725 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/0.06371, allocations: 361.1 kB / 0.5728 GB, free: 12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.06383, allocations: 480.8 kB / 0.5733 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.06468, allocations: 467.7 kB / 0.5737 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.06579, allocations: 0.9656 MB / 0.5747 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.06768, allocations: 1.546 MB / 0.5762 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.06769, allocations: 3.938 kB / 0.5762 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008842/0.07653, allocations: 4.754 MB / 0.5808 GB, free: 3.441 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.07655, allocations: 12.12 kB / 0.5808 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.07656, allocations: 12 kB / 0.5809 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008831/0.08539, allocations: 3.591 MB / 0.5844 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.08592, allocations: 195.6 kB / 0.5846 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.1151, allocations: 19.36 MB / 0.6035 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.1161, allocations: 103.9 kB / 0.6036 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.1163, allocations: 67.98 kB / 0.6036 GB, free: 11.6 MB / 0.573 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.0005534/0.1168, allocations: 260.2 kB / 0.6039 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.1172, allocations: 199.1 kB / 0.6041 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.1288, allocations: 4.728 MB / 0.6087 GB, free: 6.371 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.1288, allocations: 20 kB / 0.6087 GB, free: 6.352 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-05/0.1289, allocations: 28 kB / 0.6087 GB, free: 6.324 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.1289, allocations: 11.95 kB / 0.6087 GB, free: 6.312 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.1442, allocations: 7.182 MB / 0.6157 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.1442, allocations: 4 kB / 0.6158 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.1445, allocations: 123.8 kB / 0.6159 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008883/0.1534, allocations: 3.496 MB / 0.6193 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.1535, allocations: 40 kB / 0.6193 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/0.1746, allocations: 17.81 MB / 0.6367 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1746, allocations: 4 kB / 0.6367 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.1835, allocations: 4.691 MB / 0.6413 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.1842, allocations: 0.5028 MB / 0.6418 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.1843, allocations: 35.95 kB / 0.6418 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.1849, allocations: 99.88 kB / 0.6419 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/0.1853, allocations: 169.5 kB / 0.6421 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.1854, allocations: 44 kB / 0.6421 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004377/0.1859, allocations: 0.55 MB / 0.6427 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1859, allocations: 0 / 0.6427 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001914/0.1878, allocations: 1.004 MB / 0.6436 GB, free: 1.789 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.0002214/0.188, allocations: 150.9 kB / 0.6438 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004131/0.1921, allocations: 3.256 MB / 0.647 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1921, allocations: 0 / 0.647 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.1955, allocations: 2.753 MB / 0.6497 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.1962, allocations: 234 kB / 0.6499 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.2005, allocations: 4.052 MB / 0.6538 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.201, allocations: 0.635 MB / 0.6545 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004011/0.2014, allocations: 287.2 kB / 0.6547 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2016, allocations: 60.48 kB / 0.6548 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of SimCode: time 1.323e-06/0.2016, allocations: 4 kB / 0.6548 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of Templates: time 0.228/0.4295, allocations: 66.37 MB / 0.7196 GB, free: 163.9 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.535333732608706]