Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008963/0.0008963, 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.0009231/0.0009231, 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.9243/0.9243, 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.748/0.748, 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_L_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0009632/0.0009632, allocations: 66.45 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4715, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02779/0.4993, allocations: 33.76 MB / 0.8504 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.5164, allocations: 11.54 MB / 0.8616 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.5198, allocations: 209.5 kB / 0.8618 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006084/0.5259, allocations: 4.265 MB / 0.866 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.5315, allocations: 2.093 MB / 0.868 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005503/0.537, allocations: 2.407 MB / 0.8704 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.5478, allocations: 8.464 MB / 0.8787 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008176/0.556, allocations: 6.165 MB / 0.8847 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006442/0.5625, allocations: 3.88 MB / 0.8885 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005604/0.5681, allocations: 4.139 MB / 0.8925 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.5697, allocations: 0.7812 MB / 0.8933 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/0.5747, allocations: 1.899 MB / 0.8951 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003788/0.5784, allocations: 3.141 MB / 0.8982 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.005261/0.5837, allocations: 2.755 MB / 0.9009 GB, free: 292 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.5952, allocations: 12.07 MB / 0.9127 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.5952, allocations: 3.938 kB / 0.9127 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5952, allocations: 0 / 0.9127 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003466/0.5956, allocations: 0 / 0.9127 GB, free: 4.176 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01079/0.6064, allocations: 5.859 MB / 0.9184 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.6064, allocations: 8.031 kB / 0.9184 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001473/0.6079, allocations: 0.8129 MB / 0.9192 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.6118, allocations: 1.094 MB / 0.9203 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.6171, allocations: 3.419 MB / 0.9236 GB, free: 8.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.6173, allocations: 419.5 kB / 0.924 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009656/0.6183, allocations: 0.5354 MB / 0.9245 GB, free: 7.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.633, allocations: 9.384 MB / 0.9337 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.6331, allocations: 31.81 kB / 0.9337 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004312/0.6335, allocations: 236 kB / 0.9339 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002582/0.6338, allocations: 350.8 kB / 0.9343 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009285/0.6431, allocations: 6.814 MB / 0.9409 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.6684, allocations: 25.11 MB / 0.9655 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.6707, allocations: 2.302 MB / 0.9677 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.6723, allocations: 1.771 MB / 0.9694 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.6724, allocations: 18 kB / 0.9695 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6724, allocations: 56.55 kB / 0.9695 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 3.998e-06/0.6724, allocations: 0 / 0.9695 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.01575/0.6882, allocations: 9.686 MB / 0.979 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6882, allocations: 73.41 kB / 0.979 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.6899, allocations: 1.569 MB / 0.9806 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.6901, allocations: 49.7 kB / 0.9806 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.6912, allocations: 2.327 MB / 0.9829 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.6916, allocations: 0.6623 MB / 0.9835 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.692, allocations: 412.1 kB / 0.9839 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.6921, allocations: 305.1 kB / 0.9842 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.6936, allocations: 1.179 MB / 0.9854 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.6949, allocations: 1.885 MB / 0.9872 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.6976, allocations: 3.367 MB / 0.9905 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.6976, allocations: 4 kB / 0.9905 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004721/0.7023, allocations: 4.543 MB / 0.9949 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.7023, allocations: 16.19 kB / 0.995 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.7023, allocations: 24 kB / 0.995 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.7045, allocations: 1.575 MB / 0.9965 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.7051, allocations: 359.3 kB / 0.9969 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.7202, allocations: 17.95 MB / 1.014 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7214, allocations: 111.9 kB / 1.014 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.7215, allocations: 104 kB / 1.015 GB, free: 9.402 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002316/0.7238, allocations: 1.887 MB / 1.016 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.7242, allocations: 238.5 kB / 1.017 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/0.7286, allocations: 4.04 MB / 1.021 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.7286, allocations: 16 kB / 1.021 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/0.7287, allocations: 24 kB / 1.021 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7287, allocations: 15.89 kB / 1.021 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.739, allocations: 8.666 MB / 1.029 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.739, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.7394, allocations: 179.7 kB / 1.029 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.7413, allocations: 1.349 MB / 1.031 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/0.7414, allocations: 36 kB / 1.031 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.7551, allocations: 16.72 MB / 1.047 GB, free: 7.582 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7551, allocations: 7.938 kB / 1.047 GB, free: 7.574 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.7597, allocations: 4.044 MB / 1.051 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.7606, allocations: 474.4 kB / 1.051 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.7608, allocations: 35.98 kB / 1.051 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.7613, allocations: 87.89 kB / 1.052 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.7617, allocations: 169.6 kB / 1.052 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.7617, allocations: 44.5 kB / 1.052 GB, free: 2.641 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001028/0.7627, allocations: 1.005 MB / 1.053 GB, free: 1.613 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.7627, allocations: 0 / 1.053 GB, free: 1.613 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002261/0.765, allocations: 0.9883 MB / 1.054 GB, free: 0.625 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004685/0.7697, allocations: 4.63 MB / 1.058 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004967/0.7747, allocations: 4.17 MB / 1.062 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.7747, allocations: 0 / 1.062 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.7774, allocations: 2.58 MB / 1.065 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.7795, allocations: 0.7813 MB / 1.066 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.8123, allocations: 27.02 MB / 1.092 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004425/0.8168, allocations: 3.035 MB / 1.095 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001318/0.8181, allocations: 463.9 kB / 1.095 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/0.8202, allocations: 1.784 MB / 1.097 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of SimCode: time 2.395e-06/0.8202, allocations: 0 / 1.097 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4348/1.255, allocations: 78.52 MB / 1.174 GB, free: 276.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/9.704, allocations: 1.734 kB / 1.174 GB, free: 276.9 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.700951042119414] Failed to read output from testmodel.py, exit status != 0: 9.811415764968842 9.820439429 9.223346189999999 Calling exit ...