Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001302/0.001302, allocations: 110.1 kB / 16.4 MB, free: 6.5 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.001369/0.001369, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.437/1.437, allocations: 222.9 MB / 245.1 MB, free: 15.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/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.12/1.12, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.61 kB / 0.6479 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 89.52 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4479/0.6371, allocations: 26.63 MB / 0.7613 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.65, allocations: 8.079 MB / 0.7692 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.6531, allocations: 118.1 kB / 0.7693 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006519/0.6597, allocations: 2.759 MB / 0.772 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.665, allocations: 1.578 MB / 0.7735 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.6701, allocations: 1.684 MB / 0.7752 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008594/0.6787, allocations: 6.15 MB / 0.7812 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00912/0.6879, allocations: 7.314 MB / 0.7883 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.6927, allocations: 2.568 MB / 0.7908 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005766/0.6985, allocations: 2.842 MB / 0.7936 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.6999, allocations: 0.5081 MB / 0.7941 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.7037, allocations: 1.283 MB / 0.7953 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003157/0.7069, allocations: 2.051 MB / 0.7973 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004713/0.7116, allocations: 2.383 MB / 0.7997 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.7258, allocations: 8.08 MB / 0.8076 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.7258, allocations: 3.938 kB / 0.8076 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7258, allocations: 0 / 0.8076 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003569/0.7262, allocations: 1.156 kB / 0.8076 GB, free: 4.434 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01638/0.7426, allocations: 4.331 MB / 0.8118 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7427, allocations: 9.719 kB / 0.8118 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0023/0.745, allocations: 0.5354 MB / 0.8123 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.751, allocations: 0.8203 MB / 0.8131 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007156/0.7582, allocations: 2.595 MB / 0.8157 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.7585, allocations: 273.9 kB / 0.8159 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.7604, allocations: 383.5 kB / 0.8163 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.7763, allocations: 5.99 MB / 0.8221 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.7765, allocations: 15.89 kB / 0.8222 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/0.7778, allocations: 160 kB / 0.8223 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007399/0.7786, allocations: 286.8 kB / 0.8226 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.7899, allocations: 4.52 MB / 0.827 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.8351, allocations: 27.5 MB / 0.8538 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.8372, allocations: 1.119 MB / 0.8549 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.8389, allocations: 1.016 MB / 0.8559 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.839, allocations: 9 kB / 0.8559 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.8391, allocations: 47.56 kB / 0.856 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.026e-06/0.8391, allocations: 0 / 0.856 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02561/0.8647, allocations: 9.737 MB / 0.8655 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.8648, allocations: 68.72 kB / 0.8656 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.8676, allocations: 1.494 MB / 0.867 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.8679, allocations: 45.7 kB / 0.8671 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.8695, allocations: 1.719 MB / 0.8687 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006661/0.8701, allocations: 483.9 kB / 0.8692 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/0.8709, allocations: 339.4 kB / 0.8695 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8711, allocations: 305.1 kB / 0.8698 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.8727, allocations: 0.9174 MB / 0.8707 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.8748, allocations: 1.455 MB / 0.8721 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.8785, allocations: 2.55 MB / 0.8746 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.8786, allocations: 8 kB / 0.8746 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006785/0.8854, allocations: 3.295 MB / 0.8779 GB, free: 13.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.8855, allocations: 14.25 kB / 0.8779 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.8855, allocations: 24 kB / 0.8779 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.8881, allocations: 0.7412 MB / 0.8786 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.8899, allocations: 379.4 kB / 0.879 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.9113, allocations: 17.05 MB / 0.8956 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.9142, allocations: 103.9 kB / 0.8957 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/0.9149, allocations: 76 kB / 0.8958 GB, free: 9.734 MB / 0.6856 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003596/0.9185, allocations: 1.311 MB / 0.8971 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/0.9192, allocations: 210.7 kB / 0.8973 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/0.9254, allocations: 2.784 MB / 0.9 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.9254, allocations: 16 kB / 0.9 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/0.9254, allocations: 8 kB / 0.9 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.9255, allocations: 7.969 kB / 0.9 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.9405, allocations: 6.217 MB / 0.9061 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.9406, allocations: 8 kB / 0.9061 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.9418, allocations: 231.6 kB / 0.9063 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.944, allocations: 0.6677 MB / 0.907 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9442, allocations: 28 kB / 0.907 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.9637, allocations: 16.81 MB / 0.9234 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.9638, allocations: 4 kB / 0.9234 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/0.9715, allocations: 4.021 MB / 0.9274 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.9727, allocations: 463.6 kB / 0.9278 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005956/0.9734, allocations: 39.92 kB / 0.9278 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.9748, allocations: 83.89 kB / 0.9279 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.9752, allocations: 116.7 kB / 0.928 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.9753, allocations: 36 kB / 0.9281 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001865/0.9772, allocations: 0.9903 MB / 0.929 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9772, allocations: 0 / 0.929 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003012/0.9802, allocations: 0.6875 MB / 0.9297 GB, free: 5.395 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.007549/0.9878, allocations: 4.616 MB / 0.9342 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006065/0.9938, allocations: 3.531 MB / 0.9377 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9939, allocations: 4.125 kB / 0.9377 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.9976, allocations: 2.303 MB / 0.9399 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.001, allocations: 0.6644 MB / 0.9406 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/1.041, allocations: 21.25 MB / 0.9613 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004754/1.046, allocations: 2.672 MB / 0.9639 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001839/1.047, allocations: 481.4 kB / 0.9644 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.05, allocations: 1.277 MB / 0.9656 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of SimCode: time 9.62e-07/1.05, allocations: 0 / 0.9656 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/1.191, allocations: 57.19 MB / 1.021 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.79, allocations: 4.062 kB / 1.021 GB, free: 6.863 MB / 0.8106 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.847558098379523] Failed to read output from testmodel.py, exit status != 0: 14.902114893309772 14.916206142 14.187633621 Calling exit ...