Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001447/0.001447, allocations: 112.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.001506/0.001506, 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.203 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.9832/0.9832, allocations: 175.7 MB / 480.1 MB, free: 2.785 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.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 67.36 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1468, allocations: 94.53 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007134/0.1539, allocations: 5.736 MB / 0.7657 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.1582, allocations: 2.743 MB / 0.7684 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.1584, allocations: 23.81 kB / 0.7684 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.1602, allocations: 0.7072 MB / 0.7691 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000779/0.161, allocations: 429.7 kB / 0.7695 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.1618, allocations: 411 kB / 0.7699 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.1627, allocations: 0.963 MB / 0.7708 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.1632, allocations: 330.6 kB / 0.7711 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.1636, allocations: 370.7 kB / 0.7715 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.1642, allocations: 430.3 kB / 0.7719 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.1643, allocations: 48 kB / 0.7719 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.1649, allocations: 379.2 kB / 0.7723 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.1651, allocations: 251.2 kB / 0.7725 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1654, allocations: 358.1 kB / 0.7729 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1665, allocations: 0.9728 MB / 0.7738 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1665, allocations: 0 / 0.7738 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1665, allocations: 0 / 0.7738 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.1665, allocations: 0 / 0.7738 GB, free: 2.684 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.001449/0.1679, allocations: 1 MB / 0.7748 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.168, allocations: 12.03 kB / 0.7748 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1681, allocations: 94.7 kB / 0.7749 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.1693, allocations: 204.2 kB / 0.7751 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.1701, allocations: 0.53 MB / 0.7756 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.1701, allocations: 41.36 kB / 0.7757 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.1702, allocations: 56.52 kB / 0.7757 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1713, allocations: 0.8316 MB / 0.7765 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1713, allocations: 3.938 kB / 0.7765 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.1714, allocations: 23.98 kB / 0.7765 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.1716, allocations: 68.94 kB / 0.7766 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.1724, allocations: 0.5774 MB / 0.7772 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.1766, allocations: 4.566 MB / 0.7816 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.1771, allocations: 279.3 kB / 0.7819 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1773, allocations: 205.3 kB / 0.7821 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1774, allocations: 8.281 kB / 0.7821 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1774, allocations: 38.84 kB / 0.7821 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.1774, allocations: 0 / 0.7821 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005225/0.1826, allocations: 2.644 MB / 0.7847 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1827, allocations: 55.41 kB / 0.7848 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.1831, allocations: 466 kB / 0.7852 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1832, allocations: 37.7 kB / 0.7853 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1834, allocations: 352.5 kB / 0.7856 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1835, allocations: 146.7 kB / 0.7857 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1836, allocations: 106.2 kB / 0.7858 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1838, allocations: 370.7 kB / 0.7862 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.1841, allocations: 236.9 kB / 0.7864 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.1846, allocations: 406.5 kB / 0.7868 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.1855, allocations: 0.674 MB / 0.7875 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1855, allocations: 4 kB / 0.7875 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001583/0.1871, allocations: 0.9134 MB / 0.7884 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1871, allocations: 8.656 kB / 0.7884 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1871, allocations: 8 kB / 0.7884 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007308/0.1878, allocations: 222.3 kB / 0.7886 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.1883, allocations: 127.8 kB / 0.7887 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.1934, allocations: 5.342 MB / 0.7939 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.1938, allocations: 35.97 kB / 0.794 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.1939, allocations: 20 kB / 0.794 GB, free: 12.72 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.0002779/0.1941, allocations: 225.6 kB / 0.7942 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.1942, allocations: 63.56 kB / 0.7943 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.1957, allocations: 0.7619 MB / 0.795 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1957, allocations: 4 kB / 0.795 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1957, allocations: 4 kB / 0.795 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1957, allocations: 3.938 kB / 0.795 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.198, allocations: 1.491 MB / 0.7965 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.198, allocations: 0 / 0.7965 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1983, allocations: 71.88 kB / 0.7965 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/0.199, allocations: 206.5 kB / 0.7967 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.199, allocations: 8 kB / 0.7967 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.2039, allocations: 5.281 MB / 0.8019 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.2039, allocations: 7.969 kB / 0.8019 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.2056, allocations: 1.128 MB / 0.803 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.2058, allocations: 176.7 kB / 0.8032 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.2058, allocations: 16.17 kB / 0.8032 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.2062, allocations: 27.97 kB / 0.8032 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.2062, allocations: 39.95 kB / 0.8033 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.2063, allocations: 12 kB / 0.8033 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003316/0.2066, allocations: 314.9 kB / 0.8036 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2066, allocations: 0 / 0.8036 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006058/0.2072, allocations: 168 kB / 0.8037 GB, free: 2.125 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.002009/0.2092, allocations: 1.688 MB / 0.8054 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.2107, allocations: 0.9655 MB / 0.8063 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2107, allocations: 0 / 0.8063 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.2117, allocations: 0.668 MB / 0.807 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.2125, allocations: 176.6 kB / 0.8071 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/0.22, allocations: 5.636 MB / 0.8126 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.2206, allocations: 0.9494 MB / 0.8136 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.2209, allocations: 117 kB / 0.8137 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2211, allocations: 207.4 kB / 0.8139 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.2211, allocations: 0 / 0.8139 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.2698, allocations: 14.35 MB / 0.8279 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.37, allocations: 8.922 kB / 0.8279 GB, free: 9.168 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.812203260997194]