Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001059/0.001059, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001026/0.001026, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9242/0.9242, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8476/0.8476, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.998e-05, allocations: 4 kB / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03112/0.03115, allocations: 33.67 MB / 0.5535 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01778/0.04893, allocations: 15.05 MB / 0.5682 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.05231, allocations: 210.4 kB / 0.5684 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.05812, allocations: 3.765 MB / 0.5721 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008329/0.06645, allocations: 3.08 MB / 0.5751 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006808/0.07326, allocations: 2.359 MB / 0.5774 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.08485, allocations: 9.012 MB / 0.5862 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0085/0.09335, allocations: 5.525 MB / 0.5916 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008895/0.1022, allocations: 5.6 MB / 0.597 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006204/0.1084, allocations: 3.967 MB / 0.6009 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.1106, allocations: 0.7165 MB / 0.6016 GB, free: 15.08 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.1147, allocations: 1.634 MB / 0.6032 GB, free: 13.44 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003771/0.1184, allocations: 3.071 MB / 0.6062 GB, free: 10.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005907/0.1243, allocations: 2.401 MB / 0.6085 GB, free: 7.957 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009835/0.1342, allocations: 6.296 MB / 0.6147 GB, free: 1.645 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.1342, allocations: 0 / 0.6147 GB, free: 1.645 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.098e-06/0.1342, allocations: 0 / 0.6147 GB, free: 1.645 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005461/0.1347, allocations: 0.9688 kB / 0.6147 GB, free: 1.645 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0123/0.147, allocations: 6.318 MB / 0.6209 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1471, allocations: 12.03 kB / 0.6209 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.1521, allocations: 1.8 MB / 0.6226 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/0.1577, allocations: 3.439 MB / 0.626 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.1579, allocations: 378.4 kB / 0.6263 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/0.1588, allocations: 0.5081 MB / 0.6268 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009237/0.168, allocations: 5.474 MB / 0.6322 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.1682, allocations: 31.77 kB / 0.6322 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.1686, allocations: 212 kB / 0.6324 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/0.1692, allocations: 437.6 kB / 0.6328 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.1737, allocations: 1.903 MB / 0.6347 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.1978, allocations: 22.98 MB / 0.6571 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.199, allocations: 0.9201 MB / 0.658 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2, allocations: 0.7869 MB / 0.6588 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/0.2001, allocations: 30 kB / 0.6588 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2002, allocations: 55.39 kB / 0.6589 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=171): time 3.627e-06/0.2002, allocations: 4 kB / 0.6589 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=276): time 0.01796/0.2181, allocations: 9.005 MB / 0.6677 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.2182, allocations: 81.58 kB / 0.6678 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.2207, allocations: 1.861 MB / 0.6696 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/0.221, allocations: 73.7 kB / 0.6697 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.2222, allocations: 2.404 MB / 0.672 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/0.2231, allocations: 1.007 MB / 0.673 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006746/0.2237, allocations: 0.517 MB / 0.6735 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2238, allocations: 480.8 kB / 0.6739 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.225, allocations: 0.6616 MB / 0.6746 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.2266, allocations: 1.55 MB / 0.6761 GB, free: 1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2679/0.4945, allocations: 2.431 MB / 0.6785 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.4946, allocations: 6.438 kB / 0.6785 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.007483/0.502, allocations: 4.231 MB / 0.6826 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.5021, allocations: 16.19 kB / 0.6826 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.5021, allocations: 20.25 kB / 0.6827 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006316/0.5084, allocations: 2.591 MB / 0.6852 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5095, allocations: 408.5 kB / 0.6856 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/0.5281, allocations: 20.46 MB / 0.7056 GB, free: 165.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.5299, allocations: 157.8 kB / 0.7057 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.5302, allocations: 109.3 kB / 0.7058 GB, free: 165.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001282/0.5314, allocations: 326.5 kB / 0.7061 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.5319, allocations: 405 kB / 0.7065 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/0.538, allocations: 3.864 MB / 0.7103 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.538, allocations: 27.94 kB / 0.7103 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-05/0.538, allocations: 30.69 kB / 0.7103 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.5381, allocations: 13.34 kB / 0.7104 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.5511, allocations: 7.936 MB / 0.7181 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.5511, allocations: 6.281 kB / 0.7181 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.5516, allocations: 233.8 kB / 0.7183 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006045/0.5577, allocations: 2.405 MB / 0.7207 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.5579, allocations: 56.69 kB / 0.7207 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.5767, allocations: 20.35 MB / 0.7406 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5767, allocations: 17.5 kB / 0.7406 GB, free: 146 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006583/0.5833, allocations: 3.919 MB / 0.7445 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.5845, allocations: 0.6536 MB / 0.7451 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.5848, allocations: 52.89 kB / 0.7451 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/0.5857, allocations: 167.5 kB / 0.7453 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/0.5866, allocations: 269.8 kB / 0.7456 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5867, allocations: 77.34 kB / 0.7456 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001181/0.5878, allocations: 1.068 MB / 0.7467 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5878, allocations: 4 kB / 0.7467 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003509/0.5914, allocations: 1.378 MB / 0.748 GB, free: 142.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/0.5917, allocations: 169 kB / 0.7482 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005449/0.5971, allocations: 4.613 MB / 0.7527 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5971, allocations: 8.125 kB / 0.7527 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/0.6011, allocations: 3.582 MB / 0.7562 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.604, allocations: 1.032 MB / 0.7572 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.6177, allocations: 8.863 MB / 0.7659 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.6191, allocations: 1.418 MB / 0.7672 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001401/0.6206, allocations: 472.4 kB / 0.7677 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6208, allocations: 140.5 kB / 0.7678 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.993e-06/0.6208, allocations: 0 / 0.7678 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.07421/0.695, allocations: 76.58 MB / 0.8426 GB, free: 49.46 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.854588129092008]