Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001047/0.001047, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0009493/0.0009493, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9362/0.9362, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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-531:686: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-531:694: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.7865/0.7865, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009795/0.0009795, allocations: 74.02 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5066, allocations: 102 MB / 0.8174 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01896/0.5256, allocations: 21.54 MB / 0.8384 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.536, allocations: 6.178 MB / 0.8445 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.5386, allocations: 128.1 kB / 0.8446 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.5413, allocations: 1.571 MB / 0.8461 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.5455, allocations: 1.72 MB / 0.8478 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.5486, allocations: 1.347 MB / 0.8491 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007841/0.5565, allocations: 5.94 MB / 0.8549 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005364/0.5618, allocations: 3.194 MB / 0.858 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004736/0.5666, allocations: 2.498 MB / 0.8605 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.5718, allocations: 2.924 MB / 0.8633 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.5735, allocations: 457.3 kB / 0.8638 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.5764, allocations: 1.032 MB / 0.8648 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.5792, allocations: 2.087 MB / 0.8668 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004274/0.5834, allocations: 1.75 MB / 0.8685 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009558/0.593, allocations: 7.357 MB / 0.8757 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.593, allocations: 0 / 0.8757 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.655e-06/0.593, allocations: 7.938 kB / 0.8757 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000304/0.5933, allocations: 0 / 0.8757 GB, free: 10.02 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009096/0.6024, allocations: 3.838 MB / 0.8795 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6024, allocations: 8.031 kB / 0.8795 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007896/0.6032, allocations: 0.4976 MB / 0.88 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.607, allocations: 1.227 MB / 0.8812 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.6102, allocations: 2.312 MB / 0.8834 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.6103, allocations: 246.4 kB / 0.8836 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004564/0.6107, allocations: 308 kB / 0.8839 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007927/0.6187, allocations: 6.438 MB / 0.8902 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-05/0.6187, allocations: 19.83 kB / 0.8902 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.6191, allocations: 139.9 kB / 0.8904 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000336/0.6194, allocations: 406.3 kB / 0.8908 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006336/0.6258, allocations: 4.654 MB / 0.8953 GB, free: 5.516 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.6469, allocations: 18.66 MB / 0.9135 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.6483, allocations: 1.365 MB / 0.9149 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.6495, allocations: 1.432 MB / 0.9163 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.6496, allocations: 9 kB / 0.9163 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.6496, allocations: 51.5 kB / 0.9163 GB, free: 15.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/0.6496, allocations: 0 / 0.9163 GB, free: 15.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.07158/0.7212, allocations: 37.07 MB / 0.9525 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7213, allocations: 81.28 kB / 0.9526 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.7229, allocations: 1.454 MB / 0.954 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.7231, allocations: 57.7 kB / 0.9541 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.7237, allocations: 1.575 MB / 0.9556 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.7242, allocations: 0.6429 MB / 0.9562 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.7246, allocations: 383.5 kB / 0.9566 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.7247, allocations: 301.1 kB / 0.9569 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.7265, allocations: 1.788 MB / 0.9586 GB, free: 4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.7288, allocations: 2.35 MB / 0.9609 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.7329, allocations: 4.387 MB / 0.9652 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.733, allocations: 8 kB / 0.9652 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01224/0.7452, allocations: 8.427 MB / 0.9735 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.7452, allocations: 12 kB / 0.9735 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.7453, allocations: 16 kB / 0.9735 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008469/0.7537, allocations: 4.619 MB / 0.978 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.7545, allocations: 303.5 kB / 0.9783 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03028/0.7848, allocations: 31.58 MB / 1.009 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7867, allocations: 151.8 kB / 1.009 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.7868, allocations: 84 kB / 1.009 GB, free: 14.83 MB / 0.7917 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002404/0.7893, allocations: 1.332 MB / 1.011 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.7897, allocations: 218.6 kB / 1.011 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.8011, allocations: 8.285 MB / 1.019 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.8011, allocations: 24.19 kB / 1.019 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/0.8012, allocations: 27.94 kB / 1.019 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/0.8013, allocations: 11.97 kB / 1.019 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.8178, allocations: 12.21 MB / 1.031 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.8178, allocations: 8 kB / 1.031 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.8182, allocations: 167.7 kB / 1.031 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00811/0.8263, allocations: 4.464 MB / 1.035 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/0.8265, allocations: 40 kB / 1.035 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03117/0.8577, allocations: 31.21 MB / 1.066 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.8577, allocations: 8.109 kB / 1.066 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.8679, allocations: 8.105 MB / 1.074 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.869, allocations: 0.5493 MB / 1.074 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.8692, allocations: 36 kB / 1.074 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007604/0.8699, allocations: 139.8 kB / 1.075 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/0.8705, allocations: 176.9 kB / 1.075 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/0.8706, allocations: 48 kB / 1.075 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009864/0.8716, allocations: 0.9704 MB / 1.076 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.8716, allocations: 0 / 1.076 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002574/0.8741, allocations: 1.117 MB / 1.077 GB, free: 8.633 MB / 0.8542 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/0.8849, allocations: 8.685 MB / 1.085 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008438/0.8933, allocations: 6.316 MB / 1.092 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.8933, allocations: 0 / 1.092 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005976/0.8993, allocations: 4.186 MB / 1.096 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.9013, allocations: 0.5324 MB / 1.096 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/0.9445, allocations: 33.52 MB / 1.129 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.9468, allocations: 2.17 MB / 1.131 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008596/0.9476, allocations: 388.6 kB / 1.131 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009437/0.9486, allocations: 1.218 MB / 1.133 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of SimCode: time 1.914e-06/0.9486, allocations: 0 / 1.133 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.463/1.412, allocations: 89.89 MB / 1.22 GB, free: 247.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/9.71, allocations: 13.72 kB / 1.22 GB, free: 247.7 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.731654364150017] Failed to read output from testmodel.py, exit status != 0: 9.820630126167089 9.831711951 9.236349216 Calling exit ...