Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0007799/0.0007799, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001088/0.001088, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9392/0.9392, allocations: 230.6 MB / 256 MB, free: 9.625 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.7755/0.7755, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0009726/0.0009726, allocations: 66.34 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4896, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02871/0.5184, allocations: 31.51 MB / 0.8482 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.5326, allocations: 10.29 MB / 0.8582 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.5356, allocations: 192.8 kB / 0.8584 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005289/0.5409, allocations: 3.731 MB / 0.862 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004971/0.5459, allocations: 1.957 MB / 0.864 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.5501, allocations: 2.134 MB / 0.866 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007968/0.5581, allocations: 7.328 MB / 0.8732 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00602/0.5641, allocations: 5.096 MB / 0.8782 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.5693, allocations: 3.295 MB / 0.8814 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/0.5749, allocations: 3.453 MB / 0.8848 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.5767, allocations: 0.6445 MB / 0.8854 GB, free: 216 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.5802, allocations: 1.658 MB / 0.887 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.583, allocations: 2.607 MB / 0.8896 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003992/0.5869, allocations: 2.346 MB / 0.8919 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.5976, allocations: 10.18 MB / 0.9018 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5976, allocations: 0 / 0.9018 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5976, allocations: 0 / 0.9018 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004297/0.598, allocations: 0 / 0.9018 GB, free: 15.37 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01042/0.6085, allocations: 5.044 MB / 0.9067 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6085, allocations: 8.031 kB / 0.9067 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008578/0.6094, allocations: 0.682 MB / 0.9074 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.6127, allocations: 0.9852 MB / 0.9084 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/0.6182, allocations: 3.003 MB / 0.9113 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.6185, allocations: 341.7 kB / 0.9116 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.62, allocations: 468.3 kB / 0.9121 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.6335, allocations: 7.98 MB / 0.9199 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.6336, allocations: 23.83 kB / 0.9199 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.634, allocations: 200 kB / 0.9201 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/0.6343, allocations: 309 kB / 0.9204 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009521/0.6438, allocations: 5.706 MB / 0.9259 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.6684, allocations: 22.68 MB / 0.9481 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.6701, allocations: 1.552 MB / 0.9496 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/0.671, allocations: 1.12 MB / 0.9507 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.6711, allocations: 13.31 kB / 0.9507 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6711, allocations: 51.88 kB / 0.9508 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 2.896e-06/0.6711, allocations: 0 / 0.9508 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.008421/0.6796, allocations: 6.207 MB / 0.9568 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.6796, allocations: 68.72 kB / 0.9569 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.681, allocations: 1.523 MB / 0.9584 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.6811, allocations: 57.62 kB / 0.9584 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009824/0.6821, allocations: 2.061 MB / 0.9604 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.6824, allocations: 0.5074 MB / 0.9609 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.6827, allocations: 351.3 kB / 0.9613 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.6828, allocations: 305.1 kB / 0.9616 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.6836, allocations: 0.9097 MB / 0.9624 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.6847, allocations: 1.593 MB / 0.964 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.6871, allocations: 2.733 MB / 0.9667 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.6871, allocations: 8 kB / 0.9667 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003952/0.691, allocations: 3.512 MB / 0.9701 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.6911, allocations: 12 kB / 0.9701 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.6911, allocations: 31.94 kB / 0.9701 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.6925, allocations: 0.9118 MB / 0.971 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.6932, allocations: 347.4 kB / 0.9714 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.7063, allocations: 21.73 MB / 0.9926 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.7076, allocations: 99.92 kB / 0.9927 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.7077, allocations: 87.98 kB / 0.9928 GB, free: 14.72 MB / 0.7761 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002714/0.7104, allocations: 1.61 MB / 0.9943 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.7108, allocations: 214.6 kB / 0.9946 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.714, allocations: 2.959 MB / 0.9974 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.714, allocations: 16 kB / 0.9975 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.7141, allocations: 8 kB / 0.9975 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.7141, allocations: 11.97 kB / 0.9975 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007787/0.7219, allocations: 6.726 MB / 1.004 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7219, allocations: 7.938 kB / 1.004 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.7223, allocations: 171.7 kB / 1.004 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.7235, allocations: 0.8223 MB / 1.005 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.7236, allocations: 32 kB / 1.005 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.7364, allocations: 20.59 MB / 1.025 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7364, allocations: 8 kB / 1.025 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.7399, allocations: 3.018 MB / 1.028 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.7407, allocations: 394.5 kB / 1.028 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.7408, allocations: 24 kB / 1.029 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.7413, allocations: 79.91 kB / 1.029 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.7416, allocations: 128.6 kB / 1.029 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.7416, allocations: 40 kB / 1.029 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001161/0.7428, allocations: 0.9756 MB / 1.03 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7428, allocations: 0 / 1.03 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002344/0.7451, allocations: 0.7852 MB / 1.03 GB, free: 6.348 MB / 0.8073 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003648/0.7488, allocations: 3.6 MB / 1.034 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005048/0.7538, allocations: 3.926 MB / 1.038 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.7538, allocations: 4.062 kB / 1.038 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.7562, allocations: 2.654 MB / 1.04 GB, free: 11.74 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7584, allocations: 0.7421 MB / 1.041 GB, free: 11.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/0.7845, allocations: 22.51 MB / 1.063 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.7871, allocations: 2.561 MB / 1.066 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00109/0.7882, allocations: 462 kB / 1.066 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.7893, allocations: 1.534 MB / 1.068 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/0.7893, allocations: 0 / 1.068 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09503/0.8843, allocations: 65.71 MB / 1.132 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/9.212, allocations: 4.062 kB / 1.132 GB, free: 13.96 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.55037410510704] Failed to read output from testmodel.py, exit status != 0: 9.317510087043047 9.641004406 8.726065537 Calling exit ...