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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 189.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.181/1.181, allocations: 177.9 MB / 484.2 MB, free: 5.391 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002222/0.002222, allocations: 63.27 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5779, allocations: 95.17 MB / 0.7669 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01145/0.5893, allocations: 10.48 MB / 0.7772 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008008/0.5973, allocations: 3.264 MB / 0.7804 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.5986, allocations: 48.88 kB / 0.7804 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.6009, allocations: 0.6216 MB / 0.781 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.6036, allocations: 0.7773 MB / 0.7818 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.6059, allocations: 0.7573 MB / 0.7825 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005126/0.6111, allocations: 2.991 MB / 0.7854 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.614, allocations: 1.306 MB / 0.7867 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.6169, allocations: 1.283 MB / 0.788 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.6205, allocations: 1.696 MB / 0.7896 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.6215, allocations: 234.2 kB / 0.7898 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.6237, allocations: 0.5152 MB / 0.7903 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.6265, allocations: 1.101 MB / 0.7914 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.6305, allocations: 1.107 MB / 0.7925 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007528/0.638, allocations: 3.697 MB / 0.7961 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.638, allocations: 0 / 0.7961 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6381, allocations: 0.6875 kB / 0.7961 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001306/0.6382, allocations: 0 / 0.7961 GB, free: 8.371 MB / 0.5919 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.008231/0.6464, allocations: 2.128 MB / 0.7982 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6465, allocations: 9.375 kB / 0.7982 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.6571, allocations: 1.325 MB / 0.7995 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.6611, allocations: 1.263 MB / 0.8007 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.6612, allocations: 112.6 kB / 0.8008 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.6623, allocations: 152.4 kB / 0.801 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009466/0.6718, allocations: 3.436 MB / 0.8043 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.6718, allocations: 10.56 kB / 0.8043 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006727/0.6725, allocations: 66.62 kB / 0.8044 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003411/0.6729, allocations: 200.7 kB / 0.8046 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007152/0.68, allocations: 3.126 MB / 0.8076 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.7057, allocations: 13.47 MB / 0.8208 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.7089, allocations: 1.611 MB / 0.8224 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.7115, allocations: 1.333 MB / 0.8237 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.7116, allocations: 15.09 kB / 0.8237 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.7117, allocations: 38.53 kB / 0.8237 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/0.7117, allocations: 0 / 0.8237 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183): time 0.1694/0.8811, allocations: 36.19 MB / 0.8591 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.8812, allocations: 69.41 kB / 0.8591 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/0.8836, allocations: 1.054 MB / 0.8602 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005993/0.8842, allocations: 53.7 kB / 0.8602 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.885, allocations: 0.8171 MB / 0.861 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/0.8863, allocations: 0.6468 MB / 0.8616 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.8881, allocations: 363.5 kB / 0.862 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8883, allocations: 301.1 kB / 0.8623 GB, free: 288 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/0.892, allocations: 1.928 MB / 0.8642 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/0.8958, allocations: 2.289 MB / 0.8664 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/0.9038, allocations: 4.389 MB / 0.8707 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.9038, allocations: 4 kB / 0.8707 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02488/0.9287, allocations: 8.881 MB / 0.8794 GB, free: 14.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.9288, allocations: 14.44 kB / 0.8794 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.9288, allocations: 11.98 kB / 0.8794 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01972/0.9485, allocations: 4.975 MB / 0.8842 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9495, allocations: 195.6 kB / 0.8844 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07229/1.022, allocations: 38.54 MB / 0.9221 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.024, allocations: 103.9 kB / 0.9222 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/1.025, allocations: 71.98 kB / 0.9222 GB, free: 2.129 MB / 0.7012 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.002327/1.027, allocations: 0.8018 MB / 0.923 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/1.028, allocations: 147.1 kB / 0.9232 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/1.051, allocations: 8.745 MB / 0.9317 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/1.051, allocations: 19.94 kB / 0.9317 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000131/1.052, allocations: 32 kB / 0.9317 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/1.052, allocations: 7.969 kB / 0.9318 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03396/1.086, allocations: 13.23 MB / 0.9447 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.086, allocations: 4 kB / 0.9447 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.086, allocations: 123.8 kB / 0.9448 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01929/1.106, allocations: 4.846 MB / 0.9495 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005066/1.106, allocations: 36 kB / 0.9496 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06705/1.173, allocations: 36.45 MB / 0.9852 GB, free: 1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.173, allocations: 4 kB / 0.9852 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.196, allocations: 8.452 MB / 0.9934 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.198, allocations: 0.5847 MB / 0.994 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/1.198, allocations: 35.94 kB / 0.994 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.2, allocations: 95.88 kB / 0.9941 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008971/1.201, allocations: 173.5 kB / 0.9943 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.201, allocations: 44 kB / 0.9943 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001344/1.203, allocations: 0.7382 MB / 0.995 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/1.203, allocations: 0 / 0.995 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003918/1.206, allocations: 1.004 MB / 0.996 GB, free: 5.773 MB / 0.7794 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.0003461/1.207, allocations: 143.1 kB / 0.9962 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.218, allocations: 5.733 MB / 1.002 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.218, allocations: 4.188 kB / 1.002 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.009487/1.228, allocations: 3.789 MB / 1.005 GB, free: 11.99 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.23, allocations: 237.8 kB / 1.006 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.241, allocations: 5.19 MB / 1.011 GB, free: 6.516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/1.243, allocations: 1.855 MB / 1.013 GB, free: 4.625 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001034/1.244, allocations: 359.4 kB / 1.013 GB, free: 4.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/1.244, allocations: 63.44 kB / 1.013 GB, free: 4.207 MB / 0.795 GB Notification: Performance of SimCode: time 1.002e-06/1.244, allocations: 0 / 1.013 GB, free: 4.207 MB / 0.795 GB Notification: Performance of Templates: time 0.1042/1.349, allocations: 63.48 MB / 1.075 GB, free: 4.832 MB / 0.8575 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.374486738815904] Failed to read output from testmodel.py, exit status != 0: 1.3595063351094723 1.374728395 0.733019307 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f58179e57b0>