Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001429/0.001429, allocations: 112.2 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.001435/0.001435, allocations: 190.6 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.039 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.9863/0.9863, allocations: 175.7 MB / 480.1 MB, free: 2.801 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 72.34 kB / 0.6678 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 94.53 MB / 0.7601 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00626/0.1577, allocations: 5.037 MB / 0.765 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.1618, allocations: 2.572 MB / 0.7675 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1621, allocations: 27.75 kB / 0.7675 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.1632, allocations: 402 kB / 0.7679 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008855/0.1641, allocations: 477.6 kB / 0.7684 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.1649, allocations: 406.7 kB / 0.7687 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.1658, allocations: 0.9251 MB / 0.7696 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.1662, allocations: 262.6 kB / 0.7699 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.1666, allocations: 350.6 kB / 0.7702 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.1671, allocations: 358.5 kB / 0.7706 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1671, allocations: 39.94 kB / 0.7706 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006565/0.1678, allocations: 423 kB / 0.771 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.168, allocations: 187.4 kB / 0.7712 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.1683, allocations: 326.2 kB / 0.7715 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.1692, allocations: 0.8869 MB / 0.7724 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1692, allocations: 0 / 0.7724 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1692, allocations: 3.984 kB / 0.7724 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.1693, allocations: 4 kB / 0.7724 GB, free: 4.176 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001313/0.1706, allocations: 0.9688 MB / 0.7733 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1706, allocations: 8.031 kB / 0.7733 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1707, allocations: 94.69 kB / 0.7734 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.1719, allocations: 200.3 kB / 0.7736 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.1726, allocations: 0.5534 MB / 0.7742 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.1726, allocations: 33.36 kB / 0.7742 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1727, allocations: 52.34 kB / 0.7742 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1738, allocations: 0.8407 MB / 0.7751 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.1738, allocations: 15.89 kB / 0.7751 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.1738, allocations: 20 kB / 0.7751 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.692e-05/0.1739, allocations: 64.95 kB / 0.7752 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.1747, allocations: 0.5695 MB / 0.7757 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004387/0.1791, allocations: 5.655 MB / 0.7812 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.1797, allocations: 418.3 kB / 0.7816 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.18, allocations: 204.7 kB / 0.7818 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.18, allocations: 12.41 kB / 0.7818 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1801, allocations: 34.56 kB / 0.7819 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.1801, allocations: 0 / 0.7819 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002492/0.1826, allocations: 1.518 MB / 0.7834 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1826, allocations: 55.69 kB / 0.7834 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.1831, allocations: 0.4913 MB / 0.7839 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1832, allocations: 33.7 kB / 0.7839 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.1834, allocations: 375.7 kB / 0.7843 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1835, allocations: 126.9 kB / 0.7844 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1837, allocations: 110.2 kB / 0.7845 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1838, allocations: 358.8 kB / 0.7848 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.1841, allocations: 201.2 kB / 0.785 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.1846, allocations: 443.3 kB / 0.7855 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.1854, allocations: 0.6915 MB / 0.7861 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1854, allocations: 4 kB / 0.7861 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00125/0.1867, allocations: 0.8136 MB / 0.7869 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1867, allocations: 15.98 kB / 0.7869 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1867, allocations: 8 kB / 0.787 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.1872, allocations: 152.3 kB / 0.7871 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.1876, allocations: 127.7 kB / 0.7872 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.1912, allocations: 4.345 MB / 0.7915 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1915, allocations: 35.97 kB / 0.7915 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1915, allocations: 28 kB / 0.7915 GB, free: 15.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.1918, allocations: 215.2 kB / 0.7917 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.1919, allocations: 67.62 kB / 0.7918 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1929, allocations: 0.5892 MB / 0.7924 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1929, allocations: 4 kB / 0.7924 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1929, allocations: 0 / 0.7924 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1929, allocations: 7.984 kB / 0.7924 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1947, allocations: 1.255 MB / 0.7936 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1947, allocations: 7.984 kB / 0.7936 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1949, allocations: 55.89 kB / 0.7937 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.1953, allocations: 148.1 kB / 0.7938 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1953, allocations: 7.938 kB / 0.7938 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.1987, allocations: 4.348 MB / 0.7981 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1987, allocations: 7.969 kB / 0.7981 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.1997, allocations: 0.7011 MB / 0.7988 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.1999, allocations: 180.6 kB / 0.7989 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1999, allocations: 8 kB / 0.7989 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2002, allocations: 23.97 kB / 0.799 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.2002, allocations: 35.84 kB / 0.799 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.2002, allocations: 15.98 kB / 0.799 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003455/0.2006, allocations: 338.8 kB / 0.7993 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2006, allocations: 0 / 0.7993 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005614/0.2012, allocations: 136 kB / 0.7995 GB, free: 6.301 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.2024, allocations: 1.269 MB / 0.8007 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.2038, allocations: 1.005 MB / 0.8017 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2038, allocations: 4.125 kB / 0.8017 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.2046, allocations: 0.7262 MB / 0.8024 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.2055, allocations: 216 kB / 0.8026 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.2117, allocations: 5.17 MB / 0.8077 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.2123, allocations: 0.902 MB / 0.8085 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.2126, allocations: 117.3 kB / 0.8086 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.2128, allocations: 199.4 kB / 0.8088 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2128, allocations: 0 / 0.8088 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.2591, allocations: 12.94 MB / 0.8215 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/9.962, allocations: 3.984 kB / 0.8215 GB, free: 15.35 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.383184753998648]