Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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: 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.001539/0.001539, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9329/0.9329, 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.7609/0.7609, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.ACLine_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.0009298/0.0009298, allocations: 67.84 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4856, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02803/0.5136, allocations: 31.68 MB / 0.8483 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.5323, allocations: 14.48 MB / 0.8625 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.536, allocations: 203 kB / 0.8627 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006246/0.5423, allocations: 3.658 MB / 0.8662 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00862/0.5509, allocations: 2.981 MB / 0.8691 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005193/0.5561, allocations: 2.339 MB / 0.8714 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.5667, allocations: 8.823 MB / 0.88 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00692/0.5736, allocations: 5.48 MB / 0.8854 GB, free: 152 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006895/0.5805, allocations: 4.102 MB / 0.8894 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006007/0.5865, allocations: 4.002 MB / 0.8933 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.5885, allocations: 0.7148 MB / 0.894 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.592, allocations: 1.615 MB / 0.8956 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003149/0.5952, allocations: 2.899 MB / 0.8984 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004709/0.5999, allocations: 2.759 MB / 0.9011 GB, free: 12 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.6103, allocations: 11.27 MB / 0.9121 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6103, allocations: 4 kB / 0.9121 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6103, allocations: 0 / 0.9121 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000307/0.6106, allocations: 4 kB / 0.9121 GB, free: 4.691 MB / 0.6823 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.0114/0.622, allocations: 6.048 MB / 0.918 GB, free: 14.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6221, allocations: 8.031 kB / 0.918 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001085/0.6232, allocations: 0.7271 MB / 0.9188 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/0.6273, allocations: 1.172 MB / 0.9199 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/0.6328, allocations: 3.474 MB / 0.9233 GB, free: 9.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.633, allocations: 371.2 kB / 0.9236 GB, free: 8.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009024/0.6339, allocations: 495.9 kB / 0.9241 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.6474, allocations: 8.862 MB / 0.9328 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.6476, allocations: 23.89 kB / 0.9328 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000759/0.6483, allocations: 219.9 kB / 0.933 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006422/0.649, allocations: 445.5 kB / 0.9334 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.659, allocations: 6.069 MB / 0.9394 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.6855, allocations: 22.03 MB / 0.9609 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.6874, allocations: 1.92 MB / 0.9627 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.6893, allocations: 1.744 MB / 0.9645 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-05/0.6894, allocations: 18 kB / 0.9645 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.6895, allocations: 64.55 kB / 0.9645 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 3.416e-06/0.6895, allocations: 0 / 0.9645 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.07661/0.7661, allocations: 38.7 MB / 1.002 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.7661, allocations: 81.52 kB / 1.002 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.7685, allocations: 2.324 MB / 1.005 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.7687, allocations: 69.7 kB / 1.005 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.77, allocations: 2.342 MB / 1.007 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.7706, allocations: 0.9721 MB / 1.008 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005657/0.7711, allocations: 0.5064 MB / 1.008 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.7712, allocations: 313.1 kB / 1.009 GB, free: 424 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.7731, allocations: 1.97 MB / 1.011 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.7755, allocations: 2.602 MB / 1.013 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/0.7797, allocations: 4.933 MB / 1.018 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7797, allocations: 4 kB / 1.018 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009093/0.7888, allocations: 7.653 MB / 1.026 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.7888, allocations: 12 kB / 1.026 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7888, allocations: 16 kB / 1.026 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005366/0.7942, allocations: 3.209 MB / 1.029 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/0.7951, allocations: 399.3 kB / 1.029 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02994/0.8251, allocations: 32.75 MB / 1.061 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.8271, allocations: 159.8 kB / 1.061 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.8272, allocations: 108 kB / 1.061 GB, free: 9.309 MB / 0.8386 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.002639/0.8299, allocations: 1.805 MB / 1.063 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.8304, allocations: 345.8 kB / 1.063 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008817/0.8392, allocations: 7.243 MB / 1.07 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.8392, allocations: 24 kB / 1.071 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.765e-05/0.8393, allocations: 32 kB / 1.071 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.8393, allocations: 15.94 kB / 1.071 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.8546, allocations: 12.14 MB / 1.082 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.8546, allocations: 8.031 kB / 1.082 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.8551, allocations: 227.8 kB / 1.083 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004991/0.8601, allocations: 2.852 MB / 1.085 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/0.8603, allocations: 52 kB / 1.085 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02803/0.8884, allocations: 31.54 MB / 1.116 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.8884, allocations: 15.94 kB / 1.116 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008251/0.8966, allocations: 6.775 MB / 1.123 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.898, allocations: 0.7242 MB / 1.124 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.8983, allocations: 55.98 kB / 1.124 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.8992, allocations: 171.7 kB / 1.124 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/0.8998, allocations: 277 kB / 1.124 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.8999, allocations: 76 kB / 1.124 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001883/0.9018, allocations: 1.525 MB / 1.126 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9018, allocations: 0 / 1.126 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003887/0.9057, allocations: 1.371 MB / 1.127 GB, free: 4.852 MB / 0.9011 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.008857/0.9146, allocations: 7.404 MB / 1.134 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008795/0.9234, allocations: 6.571 MB / 1.141 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.9234, allocations: 4.812 kB / 1.141 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/0.9284, allocations: 4.248 MB / 1.145 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.9318, allocations: 1.115 MB / 1.146 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4106/1.342, allocations: 39.06 MB / 1.184 GB, free: 271.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/1.345, allocations: 3.108 MB / 1.187 GB, free: 270.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00131/1.347, allocations: 0.552 MB / 1.188 GB, free: 270.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.348, allocations: 1.975 MB / 1.19 GB, free: 268.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.312e-06/1.348, allocations: 0 / 1.19 GB, free: 268.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.456, allocations: 119 MB / 1.306 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/10.71, allocations: 6.594 kB / 1.306 GB, free: 161.5 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.756082346197218] Failed to read output from testmodel.py, exit status != 0: 10.839014109689742 10.844267988 10.232387269 Calling exit ...