Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001202/0.001202, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001057/0.001057, allocations: 169.7 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.9412/0.9412, 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 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.7204/0.7204, allocations: 154.9 MB / 415.1 MB, free: 260 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.713e-05, allocations: 6.578 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006991/0.007008, allocations: 6.501 MB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.009909, allocations: 2.203 MB / 0.5296 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.01023, allocations: 47.69 kB / 0.5297 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.01079, allocations: 270.2 kB / 0.5299 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.01153, allocations: 0.7059 MB / 0.5306 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.01232, allocations: 0.6569 MB / 0.5313 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.01418, allocations: 3.015 MB / 0.5342 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.01546, allocations: 1.412 MB / 0.5356 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.01675, allocations: 1.732 MB / 0.5373 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.01798, allocations: 1.627 MB / 0.5389 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.01819, allocations: 236 kB / 0.5391 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.01859, allocations: 339.7 kB / 0.5394 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006741/0.01926, allocations: 1.158 MB / 0.5406 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.01977, allocations: 0.7952 MB / 0.5413 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.02139, allocations: 2.135 MB / 0.5434 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02139, allocations: 0 / 0.5434 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.51e-07/0.02139, allocations: 2.156 kB / 0.5434 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.02141, allocations: 0 / 0.5434 GB, free: 10.62 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.001976/0.02338, allocations: 2.257 MB / 0.5456 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.02342, allocations: 8.031 kB / 0.5456 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.0273, allocations: 1.292 MB / 0.5469 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.02829, allocations: 1.046 MB / 0.5479 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.02835, allocations: 111.4 kB / 0.548 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.02853, allocations: 148.3 kB / 0.5482 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.03015, allocations: 1.658 MB / 0.5498 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.03018, allocations: 5.469 kB / 0.5498 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.03031, allocations: 64.34 kB / 0.5499 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.03046, allocations: 211 kB / 0.5501 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/0.03144, allocations: 0.6614 MB / 0.5507 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.03785, allocations: 8.278 MB / 0.5588 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.03852, allocations: 0.5613 MB / 0.5593 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.03896, allocations: 390.8 kB / 0.5597 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.03903, allocations: 21.88 kB / 0.5597 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.03906, allocations: 50.38 kB / 0.5598 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 2.324e-06/0.03906, allocations: 2.469 kB / 0.5598 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183): time 0.01486/0.05392, allocations: 8.221 MB / 0.5678 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.05395, allocations: 73.34 kB / 0.5679 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.05452, allocations: 0.8656 MB / 0.5687 GB, free: 372 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.05462, allocations: 57.7 kB / 0.5688 GB, free: 308 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.05499, allocations: 0.8743 MB / 0.5696 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.05538, allocations: 0.6818 MB / 0.5703 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.05581, allocations: 353 kB / 0.5706 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.0559, allocations: 480.7 kB / 0.5711 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.05641, allocations: 351.8 kB / 0.5714 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.05713, allocations: 0.8678 MB / 0.5723 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.05844, allocations: 1.324 MB / 0.5736 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.05845, allocations: 8 kB / 0.5736 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007262/0.06571, allocations: 4.137 MB / 0.5776 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.06573, allocations: 8 kB / 0.5776 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.06575, allocations: 12 kB / 0.5776 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007433/0.07318, allocations: 3.229 MB / 0.5808 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.07356, allocations: 175.7 kB / 0.581 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/0.09143, allocations: 17.87 MB / 0.5984 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.09219, allocations: 52 kB / 0.5985 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.09229, allocations: 52 kB / 0.5985 GB, free: 0.9961 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.000501/0.09279, allocations: 252.2 kB / 0.5987 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.09304, allocations: 203.1 kB / 0.5989 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/0.1003, allocations: 4.158 MB / 0.603 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1003, allocations: 16 kB / 0.603 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-05/0.1004, allocations: 28 kB / 0.603 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1004, allocations: 11.97 kB / 0.603 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009382/0.1098, allocations: 6.128 MB / 0.609 GB, free: 6.027 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1098, allocations: 4 kB / 0.609 GB, free: 6.023 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.11, allocations: 104.3 kB / 0.6091 GB, free: 5.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007225/0.1172, allocations: 3.135 MB / 0.6122 GB, free: 2.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.1173, allocations: 36 kB / 0.6122 GB, free: 2.734 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.1342, allocations: 16.51 MB / 0.6284 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.1342, allocations: 7.938 kB / 0.6284 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/0.1415, allocations: 4.125 MB / 0.6324 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.142, allocations: 414.8 kB / 0.6328 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.1422, allocations: 31.98 kB / 0.6328 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.1427, allocations: 39.94 kB / 0.6329 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.1431, allocations: 169.4 kB / 0.633 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.1432, allocations: 36 kB / 0.6331 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003464/0.1435, allocations: 0.5029 MB / 0.6335 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1435, allocations: 0 / 0.6335 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002007/0.1455, allocations: 1.012 MB / 0.6345 GB, free: 11.31 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.0002093/0.1457, allocations: 147 kB / 0.6347 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003558/0.1493, allocations: 3.014 MB / 0.6376 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1493, allocations: 4.062 kB / 0.6376 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.1522, allocations: 2.575 MB / 0.6401 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.153, allocations: 253.3 kB / 0.6404 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.1577, allocations: 3.992 MB / 0.6443 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.1584, allocations: 0.6349 MB / 0.6449 GB, free: 440 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.1586, allocations: 111.5 kB / 0.645 GB, free: 324 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.1589, allocations: 246.1 kB / 0.6452 GB, free: 76 kB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.1589, allocations: 0 / 0.6452 GB, free: 76 kB / 0.6042 GB Notification: Performance of Templates: time 0.2527/0.4116, allocations: 67.04 MB / 0.7107 GB, free: 166.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.455021419096738]