Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001401/0.001401, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001393/0.001393, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.219 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.9725/0.9725, allocations: 175.7 MB / 480.1 MB, free: 2.867 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 71.8 kB / 0.6677 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 94.52 MB / 0.76 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004481/0.1569, allocations: 3.177 MB / 0.7631 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.1597, allocations: 1.967 MB / 0.7651 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.1598, allocations: 4 kB / 0.7651 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.1607, allocations: 302.8 kB / 0.7654 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1611, allocations: 187.1 kB / 0.7655 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1616, allocations: 250.4 kB / 0.7658 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.162, allocations: 326.9 kB / 0.7661 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1623, allocations: 129 kB / 0.7662 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1625, allocations: 139.5 kB / 0.7663 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.1627, allocations: 155.5 kB / 0.7665 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1628, allocations: 20 kB / 0.7665 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.1634, allocations: 411.2 kB / 0.7669 GB, free: 9.828 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.1635, allocations: 87.73 kB / 0.767 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1636, allocations: 127.4 kB / 0.7671 GB, free: 9.617 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.1642, allocations: 486.3 kB / 0.7676 GB, free: 9.141 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1642, allocations: 0 / 0.7676 GB, free: 9.141 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1642, allocations: 0 / 0.7676 GB, free: 9.141 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.1642, allocations: 0 / 0.7676 GB, free: 9.141 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008189/0.165, allocations: 0.5685 MB / 0.7681 GB, free: 8.523 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1651, allocations: 8.031 kB / 0.7681 GB, free: 8.516 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.38e-05/0.1652, allocations: 66.66 kB / 0.7682 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.1659, allocations: 112.7 kB / 0.7683 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1662, allocations: 263.9 kB / 0.7686 GB, free: 8.035 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1662, allocations: 20.8 kB / 0.7686 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.1663, allocations: 16.38 kB / 0.7686 GB, free: 8 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.1668, allocations: 357.2 kB / 0.7689 GB, free: 7.633 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1668, allocations: 4 kB / 0.7689 GB, free: 7.629 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1668, allocations: 4 kB / 0.7689 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.1669, allocations: 32.41 kB / 0.769 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.1673, allocations: 293.5 kB / 0.7693 GB, free: 7.305 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1694, allocations: 1.73 MB / 0.7709 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.1699, allocations: 318.1 kB / 0.7712 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1701, allocations: 105.6 kB / 0.7713 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.1702, allocations: 93.03 kB / 0.7714 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1702, allocations: 42.55 kB / 0.7715 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1702, allocations: 0 / 0.7715 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of matching and sorting (n=23): time 0.002371/0.1726, allocations: 0.9637 MB / 0.7724 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.1726, allocations: 81.05 kB / 0.7725 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1728, allocations: 219.7 kB / 0.7727 GB, free: 3.461 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1729, allocations: 29.7 kB / 0.7727 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.173, allocations: 176.5 kB / 0.7729 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.173, allocations: 83.27 kB / 0.773 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1731, allocations: 61.66 kB / 0.773 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1733, allocations: 338.8 kB / 0.7734 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1735, allocations: 127.9 kB / 0.7735 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1737, allocations: 209.8 kB / 0.7737 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.1742, allocations: 372.4 kB / 0.774 GB, free: 2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1742, allocations: 0 / 0.774 GB, free: 2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008384/0.175, allocations: 0.5084 MB / 0.7745 GB, free: 1.473 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.175, allocations: 4 kB / 0.7745 GB, free: 1.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.1751, allocations: 4 kB / 0.7745 GB, free: 1.465 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.1755, allocations: 159.2 kB / 0.7747 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1758, allocations: 59.97 kB / 0.7748 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.1793, allocations: 4.191 MB / 0.7788 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1794, allocations: 24.08 kB / 0.7789 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1795, allocations: 16 kB / 0.7789 GB, free: 12.68 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.1796, allocations: 165.7 kB / 0.779 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.1797, allocations: 15.91 kB / 0.7791 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008565/0.1806, allocations: 480 kB / 0.7795 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1806, allocations: 0 / 0.7795 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1806, allocations: 4 kB / 0.7795 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1806, allocations: 3.984 kB / 0.7795 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.1821, allocations: 0.996 MB / 0.7805 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1821, allocations: 4.25 kB / 0.7805 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1822, allocations: 35.92 kB / 0.7805 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.1826, allocations: 143.3 kB / 0.7807 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1826, allocations: 8 kB / 0.7807 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.1859, allocations: 4.163 MB / 0.7847 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1859, allocations: 4 kB / 0.7847 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.1867, allocations: 0.6259 MB / 0.7854 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1868, allocations: 128.9 kB / 0.7855 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1868, allocations: 8 kB / 0.7855 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.187, allocations: 20.06 kB / 0.7855 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1871, allocations: 23.86 kB / 0.7855 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1871, allocations: 12 kB / 0.7855 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000154/0.1873, allocations: 161.5 kB / 0.7857 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 0.7857 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004665/0.1877, allocations: 87.94 kB / 0.7858 GB, free: 5.082 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.1889, allocations: 1.195 MB / 0.7869 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.1899, allocations: 0.5675 MB / 0.7875 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1899, allocations: 0 / 0.7875 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.1904, allocations: 389.1 kB / 0.7879 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.1909, allocations: 57.78 kB / 0.7879 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.1949, allocations: 3.326 MB / 0.7912 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1953, allocations: 0.7792 MB / 0.7919 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.1955, allocations: 58.25 kB / 0.792 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1956, allocations: 71.41 kB / 0.7921 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.1956, allocations: 8 kB / 0.7921 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.2322, allocations: 6.764 MB / 0.7987 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.18, allocations: 10.03 kB / 0.7987 GB, free: 7.648 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.632419554996886]