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.0007058/0.0007058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008705/0.001576, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006752/0.0006752, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008068/0.001482, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9622/0.9622, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09839/1.061, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7781/0.7781, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2492/1.027, allocations: 49.03 MB / 447.6 MB, free: 6.703 MB / 426.7 MB " [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.393e-06/1.393e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.177e-05, allocations: 4.922 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006013/0.006035, allocations: 6.734 MB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.009701, allocations: 2.319 MB / 457.9 MB, free: 12.4 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004962/0.0102, allocations: 47.62 kB / 458 MB, free: 12.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.01081, allocations: 282.2 kB / 458.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009079/0.01171, allocations: 0.7846 MB / 459.1 MB, free: 11.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.01259, allocations: 0.6596 MB / 459.7 MB, free: 10.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.01515, allocations: 3.339 MB / 463.1 MB, free: 7.289 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.0165, allocations: 1.434 MB / 464.5 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.01838, allocations: 1.957 MB / 466.4 MB, free: 3.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.0202, allocations: 1.736 MB / 468.2 MB, free: 2.113 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.02043, allocations: 236.7 kB / 468.4 MB, free: 1.883 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.02096, allocations: 339.7 kB / 468.7 MB, free: 1.551 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.02164, allocations: 1.081 MB / 469.8 MB, free: 480 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.02224, allocations: 0.6435 MB / 470.5 MB, free: 15.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.02371, allocations: 2.002 MB / 472.5 MB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/0.02373, allocations: 0 / 472.5 MB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.02373, allocations: 0.5 kB / 472.5 MB, free: 13.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.02376, allocations: 1.562 kB / 472.5 MB, free: 13.82 MB / 458.7 MB 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.002249/0.02601, allocations: 2.389 MB / 474.9 MB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.02604, allocations: 12.66 kB / 474.9 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.02982, allocations: 1.263 MB / 476.1 MB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.03088, allocations: 0.942 MB / 477.1 MB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.03093, allocations: 115.4 kB / 477.2 MB, free: 9.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.03113, allocations: 148.3 kB / 477.3 MB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.03273, allocations: 1.624 MB / 479 MB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.03276, allocations: 1.266 kB / 479 MB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.03289, allocations: 68.34 kB / 479 MB, free: 7.082 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.03305, allocations: 203.1 kB / 479.2 MB, free: 6.883 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009974/0.03405, allocations: 0.6971 MB / 479.9 MB, free: 6.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/0.0404, allocations: 6.547 MB / 486.5 MB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.0411, allocations: 0.5593 MB / 487 MB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.04155, allocations: 363.2 kB / 487.4 MB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.04162, allocations: 20.94 kB / 487.4 MB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.04165, allocations: 48.03 kB / 487.5 MB, free: 14.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=104): time 4.87e-06/0.04166, allocations: 1 kB / 487.5 MB, free: 14.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01567/0.05733, allocations: 7.101 MB / 494.6 MB, free: 7.629 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.05736, allocations: 60.41 kB / 494.6 MB, free: 7.555 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.05793, allocations: 0.7375 MB / 495.4 MB, free: 6.805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.05801, allocations: 49.7 kB / 495.4 MB, free: 6.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.05828, allocations: 0.7006 MB / 496.1 MB, free: 6.035 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.0585, allocations: 388.5 kB / 496.5 MB, free: 5.652 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.05878, allocations: 226.7 kB / 496.7 MB, free: 5.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.05889, allocations: 357.8 kB / 497.1 MB, free: 5.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.05947, allocations: 213.4 kB / 497.3 MB, free: 4.859 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.05989, allocations: 497.2 kB / 497.7 MB, free: 4.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.06067, allocations: 0.8155 MB / 498.6 MB, free: 3.316 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.06068, allocations: 0 / 498.6 MB, free: 3.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003752/0.06443, allocations: 2.114 MB / 0.4889 GB, free: 1.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.06445, allocations: 12 kB / 0.489 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.06447, allocations: 8 kB / 0.489 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/0.06836, allocations: 1.601 MB / 0.4905 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.06882, allocations: 187.7 kB / 0.4907 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009156/0.07798, allocations: 7.326 MB / 0.4979 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.07864, allocations: 36 kB / 0.4979 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.07871, allocations: 43.98 kB / 0.4979 GB, free: 7.773 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.07918, allocations: 180.4 kB / 0.4981 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.07934, allocations: 111.9 kB / 0.4982 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.08335, allocations: 2.037 MB / 0.5002 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.08335, allocations: 12 kB / 0.5002 GB, free: 5.406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.08337, allocations: 16 kB / 0.5002 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.08338, allocations: 9.344 kB / 0.5002 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/0.08851, allocations: 3.132 MB / 0.5033 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.08851, allocations: 4 kB / 0.5033 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.08872, allocations: 79.91 kB / 0.5034 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.08907, allocations: 235.1 kB / 0.5036 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/0.09295, allocations: 1.582 MB / 0.5051 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.09301, allocations: 20 kB / 0.5052 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009249/0.1023, allocations: 7.314 MB / 0.5123 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1023, allocations: 4 kB / 0.5123 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.1073, allocations: 2.084 MB / 0.5143 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.1074, allocations: 20 kB / 0.5144 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.1079, allocations: 20 kB / 0.5144 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.1082, allocations: 100.7 kB / 0.5145 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.1083, allocations: 24 kB / 0.5145 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003778/0.1086, allocations: 360.8 kB / 0.5148 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.1086, allocations: 0 / 0.5148 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001665/0.1103, allocations: 0.6719 MB / 0.5155 GB, free: 5.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.1105, allocations: 109.7 kB / 0.5156 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.113, allocations: 1.445 MB / 0.517 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.433e-05/0.113, allocations: 31.12 kB / 0.517 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.1146, allocations: 1.065 MB / 0.5181 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.1155, allocations: 292.6 kB / 0.5184 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.1276, allocations: 3.245 MB / 0.5215 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.1281, allocations: 0.506 MB / 0.522 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.1284, allocations: 97.7 kB / 0.5221 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.1288, allocations: 205.2 kB / 0.5223 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/0.1288, allocations: 0 / 0.5223 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.04925/0.178, allocations: 38.13 MB / 0.5596 GB, free: 8.504 MB / 0.5417 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.189556813798845]