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.001323/0.001323, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001343/0.001343, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.42/1.42, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.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.096/1.096, allocations: 175.8 MB / 479.1 MB, free: 3.383 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: translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.23 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1906, allocations: 94.55 MB / 0.7587 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005673/0.1963, allocations: 3.098 MB / 0.7617 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.1998, allocations: 1.932 MB / 0.7636 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2, allocations: 7.938 kB / 0.7636 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.201, allocations: 294.8 kB / 0.7639 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.2016, allocations: 191.1 kB / 0.764 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.2023, allocations: 247.3 kB / 0.7643 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.2028, allocations: 322.9 kB / 0.7646 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.2031, allocations: 149 kB / 0.7647 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2033, allocations: 143.4 kB / 0.7649 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.2037, allocations: 151.5 kB / 0.765 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2038, allocations: 20 kB / 0.765 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.2045, allocations: 411.2 kB / 0.7654 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2046, allocations: 95.66 kB / 0.7655 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2047, allocations: 123.4 kB / 0.7656 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.2054, allocations: 490.3 kB / 0.7661 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2054, allocations: 0 / 0.7661 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2054, allocations: 0 / 0.7661 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2054, allocations: 0 / 0.7661 GB, free: 9.406 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009978/0.2064, allocations: 0.5685 MB / 0.7666 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2065, allocations: 8.031 kB / 0.7667 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.2073, allocations: 116.7 kB / 0.7668 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.2077, allocations: 263.9 kB / 0.767 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2077, allocations: 16.8 kB / 0.767 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.2077, allocations: 16.38 kB / 0.767 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.2083, allocations: 361.4 kB / 0.7674 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2083, allocations: 0 / 0.7674 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.2084, allocations: 12 kB / 0.7674 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.2084, allocations: 20.42 kB / 0.7674 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.2089, allocations: 301.4 kB / 0.7677 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.2113, allocations: 1.726 MB / 0.7694 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.2119, allocations: 322.1 kB / 0.7697 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.212, allocations: 97.67 kB / 0.7698 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.2122, allocations: 93.03 kB / 0.7699 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2122, allocations: 34.56 kB / 0.7699 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2122, allocations: 0 / 0.7699 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002615/0.2148, allocations: 0.9693 MB / 0.7709 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.2149, allocations: 89.08 kB / 0.771 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2152, allocations: 219.7 kB / 0.7712 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2152, allocations: 29.7 kB / 0.7712 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2154, allocations: 172.5 kB / 0.7714 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.2154, allocations: 87.27 kB / 0.7714 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2155, allocations: 57.75 kB / 0.7715 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2157, allocations: 334.8 kB / 0.7718 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.2159, allocations: 135.9 kB / 0.7719 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.2162, allocations: 217.8 kB / 0.7721 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.2167, allocations: 363.4 kB / 0.7725 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2167, allocations: 0 / 0.7725 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009894/0.2177, allocations: 0.5042 MB / 0.773 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2177, allocations: 8.312 kB / 0.773 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2178, allocations: 4 kB / 0.773 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.2183, allocations: 147.3 kB / 0.7731 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.2186, allocations: 59.91 kB / 0.7732 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.2223, allocations: 4.194 MB / 0.7773 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.2225, allocations: 19.94 kB / 0.7773 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2225, allocations: 16 kB / 0.7773 GB, free: 13.02 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.0001962/0.2227, allocations: 170.8 kB / 0.7775 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.2228, allocations: 19.91 kB / 0.7775 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.2237, allocations: 471.4 kB / 0.778 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2237, allocations: 4 kB / 0.778 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2237, allocations: 0 / 0.778 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2237, allocations: 7.922 kB / 0.778 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.2254, allocations: 1.014 MB / 0.779 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2254, allocations: 0 / 0.779 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.2256, allocations: 35.97 kB / 0.779 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.226, allocations: 139.5 kB / 0.7791 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.226, allocations: 8 kB / 0.7791 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.2296, allocations: 4.156 MB / 0.7832 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.2296, allocations: 7.938 kB / 0.7832 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.2305, allocations: 0.618 MB / 0.7838 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2307, allocations: 128.9 kB / 0.7839 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2307, allocations: 19.92 kB / 0.7839 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.2309, allocations: 19.92 kB / 0.784 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.231, allocations: 23.97 kB / 0.784 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.231, allocations: 8 kB / 0.784 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001653/0.2312, allocations: 153.5 kB / 0.7841 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2312, allocations: 4 kB / 0.7841 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005165/0.2317, allocations: 91.92 kB / 0.7842 GB, free: 5.422 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.0002294/0.2319, allocations: 135.1 kB / 0.7844 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000997/0.2329, allocations: 0.5673 MB / 0.7849 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2329, allocations: 0 / 0.7849 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.2335, allocations: 394.1 kB / 0.7853 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.234, allocations: 55.62 kB / 0.7853 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2352, allocations: 0.6621 MB / 0.786 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.2358, allocations: 0.787 MB / 0.7868 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.2358, allocations: 23.42 kB / 0.7868 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.2358, allocations: 0 / 0.7868 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of Templates: time 0.01183/0.2477, allocations: 7.652 MB / 0.7943 GB, free: 11.01 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.416186394868419] Failed to read output from testmodel.py, exit status != 0: 0.2549820141866803 0.268299452 0.059993881000000006 Calling exit ...