Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001176/0.001176, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001167/0.001167, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9748/0.9748, allocations: 175.7 MB / 480.1 MB, free: 3.215 MB / 366.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 68.17 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1511, allocations: 94.53 MB / 0.7601 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007052/0.1582, allocations: 5.651 MB / 0.7656 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004063/0.1622, allocations: 2.72 MB / 0.7683 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1625, allocations: 27.75 kB / 0.7683 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.1642, allocations: 0.7002 MB / 0.769 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007746/0.1649, allocations: 425.8 kB / 0.7694 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.1658, allocations: 399 kB / 0.7698 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.1667, allocations: 0.9474 MB / 0.7707 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.1672, allocations: 334.5 kB / 0.771 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1676, allocations: 378.6 kB / 0.7714 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.1682, allocations: 426.3 kB / 0.7718 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.1682, allocations: 48 kB / 0.7718 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.1689, allocations: 375.2 kB / 0.7722 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.1691, allocations: 255.2 kB / 0.7724 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.1695, allocations: 346.3 kB / 0.7727 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1705, allocations: 0.9728 MB / 0.7737 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1705, allocations: 0 / 0.7737 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1705, allocations: 0 / 0.7737 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1705, allocations: 3.938 kB / 0.7737 GB, free: 2.832 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001496/0.172, allocations: 0.9962 MB / 0.7747 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1721, allocations: 8.031 kB / 0.7747 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.1722, allocations: 98.69 kB / 0.7748 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.1735, allocations: 192.3 kB / 0.775 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.1743, allocations: 0.5222 MB / 0.7755 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.1743, allocations: 41.36 kB / 0.7755 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.1745, allocations: 56.5 kB / 0.7756 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1757, allocations: 0.8355 MB / 0.7764 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1757, allocations: 3.953 kB / 0.7764 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.1758, allocations: 23.98 kB / 0.7764 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.1759, allocations: 72.94 kB / 0.7765 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.1768, allocations: 0.5696 MB / 0.777 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.1814, allocations: 4.57 MB / 0.7815 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.1819, allocations: 275.3 kB / 0.7817 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1822, allocations: 209.3 kB / 0.7819 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1822, allocations: 8.281 kB / 0.782 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1823, allocations: 42.78 kB / 0.782 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.1823, allocations: 0 / 0.782 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005413/0.1877, allocations: 2.64 MB / 0.7846 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1877, allocations: 59.34 kB / 0.7846 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.1882, allocations: 458 kB / 0.7851 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1882, allocations: 41.7 kB / 0.7851 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1885, allocations: 344.5 kB / 0.7854 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1886, allocations: 146.7 kB / 0.7856 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1887, allocations: 106.2 kB / 0.7857 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1889, allocations: 362.8 kB / 0.786 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.1893, allocations: 237 kB / 0.7863 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.1898, allocations: 402.5 kB / 0.7866 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008668/0.1906, allocations: 0.6856 MB / 0.7873 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1906, allocations: 4 kB / 0.7873 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001608/0.1922, allocations: 0.9057 MB / 0.7882 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1922, allocations: 8.656 kB / 0.7882 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1923, allocations: 7.938 kB / 0.7882 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.193, allocations: 222.4 kB / 0.7884 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.1935, allocations: 119.8 kB / 0.7885 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.1988, allocations: 5.345 MB / 0.7938 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.1991, allocations: 27.97 kB / 0.7938 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.1992, allocations: 24 kB / 0.7938 GB, free: 12.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002644/0.1994, allocations: 225.6 kB / 0.794 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.1995, allocations: 63.56 kB / 0.7941 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.201, allocations: 0.7621 MB / 0.7948 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.201, allocations: 4 kB / 0.7948 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.201, allocations: 4 kB / 0.7948 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.201, allocations: 0 / 0.7948 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.2033, allocations: 1.487 MB / 0.7963 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2033, allocations: 0 / 0.7963 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.2037, allocations: 75.88 kB / 0.7964 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006524/0.2043, allocations: 202.6 kB / 0.7965 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2044, allocations: 8 kB / 0.7966 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/0.2094, allocations: 5.289 MB / 0.8017 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2094, allocations: 0 / 0.8017 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2112, allocations: 1.139 MB / 0.8028 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2114, allocations: 180.6 kB / 0.803 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.2114, allocations: 8 kB / 0.803 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2117, allocations: 23.97 kB / 0.803 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.2118, allocations: 40.02 kB / 0.8031 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.2118, allocations: 8 kB / 0.8031 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003273/0.2122, allocations: 310.9 kB / 0.8034 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2122, allocations: 0 / 0.8034 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005933/0.2128, allocations: 168 kB / 0.8035 GB, free: 2.328 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.00205/0.2148, allocations: 1.703 MB / 0.8052 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.2163, allocations: 0.973 MB / 0.8062 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2163, allocations: 4 kB / 0.8062 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/0.2173, allocations: 0.6564 MB / 0.8068 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.2181, allocations: 181.1 kB / 0.807 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.2256, allocations: 5.612 MB / 0.8125 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.2262, allocations: 0.9494 MB / 0.8134 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.2265, allocations: 109 kB / 0.8135 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.2267, allocations: 211.4 kB / 0.8137 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2267, allocations: 0 / 0.8137 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.2751, allocations: 14.26 MB / 0.8276 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.28, allocations: 8.922 kB / 0.8276 GB, free: 9.465 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.652468576008687]