Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009553/0.0009556, allocations: 94.8 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009214/0.0009214, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 45.91 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 63.46 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007771/0.1584, allocations: 6.209 MB / 487.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005957/0.1644, allocations: 2.265 MB / 489.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.1661, allocations: 24 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.1677, allocations: 270.4 kB / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.1708, allocations: 0.6697 MB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.1737, allocations: 0.8867 MB / 491.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.1766, allocations: 0.9596 MB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/0.1806, allocations: 1.478 MB / 494.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.1819, allocations: 0.4942 MB / 494.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.1836, allocations: 0.6031 MB / 495.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005277/0.1841, allocations: 59.94 kB / 495.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1854, allocations: 239.8 kB / 495.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.1859, allocations: 227.1 kB / 495.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.1865, allocations: 237.1 kB / 496 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.1885, allocations: 1.301 MB / 497.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1885, allocations: 0 / 497.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1885, allocations: 4 kB / 497.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.1885, allocations: 0 / 497.3 MB, free: 5.457 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007368/0.1959, allocations: 2.154 MB / 499.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1959, allocations: 8.031 kB / 499.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009809/0.2058, allocations: 1.399 MB / 0.4891 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.2074, allocations: 0.5806 MB / 0.4897 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2075, allocations: 102.6 kB / 0.4898 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.2078, allocations: 131.9 kB / 0.4899 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.2106, allocations: 1.471 MB / 0.4913 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.2106, allocations: 4 kB / 0.4913 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.2108, allocations: 56 kB / 0.4914 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.2108, allocations: 32 kB / 0.4914 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.2136, allocations: 1.521 MB / 0.4929 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/0.222, allocations: 5.63 MB / 0.4984 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.2245, allocations: 2.178 MB / 0.5005 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.2248, allocations: 191.2 kB / 0.5007 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.2248, allocations: 47.56 kB / 0.5008 GB, free: 5.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 6.913e-06/0.2248, allocations: 0 / 0.5008 GB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008982/0.2338, allocations: 3.083 MB / 0.5038 GB, free: 2.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.234, allocations: 90.11 kB / 0.5039 GB, free: 1.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.2346, allocations: 461.8 kB / 0.5043 GB, free: 1.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/0.2348, allocations: 49.7 kB / 0.5044 GB, free: 1.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.2351, allocations: 463.5 kB / 0.5048 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.2355, allocations: 413.9 kB / 0.5052 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.2356, allocations: 28 kB / 0.5052 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.2358, allocations: 386.8 kB / 0.5056 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2893/0.5251, allocations: 459.5 kB / 0.506 GB, free: 29.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.5265, allocations: 0.6928 MB / 0.5067 GB, free: 29.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5277, allocations: 0.5172 MB / 0.5072 GB, free: 29.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.5277, allocations: 2.688 kB / 0.5072 GB, free: 29.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002868/0.5306, allocations: 1.586 MB / 0.5088 GB, free: 29.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5306, allocations: 7.844 kB / 0.5088 GB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.5307, allocations: 7.438 kB / 0.5088 GB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.5323, allocations: 0.5223 MB / 0.5093 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/0.5331, allocations: 199.8 kB / 0.5095 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008047/0.5412, allocations: 5.021 MB / 0.5144 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5425, allocations: 132.2 kB / 0.5145 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5427, allocations: 52.72 kB / 0.5145 GB, free: 27.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0007162/0.5434, allocations: 273.4 kB / 0.5148 GB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.5438, allocations: 78 kB / 0.5149 GB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.5472, allocations: 1.59 MB / 0.5164 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.5473, allocations: 12.72 kB / 0.5164 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5473, allocations: 8.031 kB / 0.5165 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.5473, allocations: 6.797 kB / 0.5165 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.5524, allocations: 2.869 MB / 0.5193 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.5525, allocations: 1.688 kB / 0.5193 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/0.5532, allocations: 144.7 kB / 0.5194 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.5546, allocations: 0.5215 MB / 0.5199 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/0.5547, allocations: 28.86 kB / 0.5199 GB, free: 27.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008577/0.5633, allocations: 4.991 MB / 0.5248 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5634, allocations: 0 / 0.5248 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/0.568, allocations: 2.371 MB / 0.5271 GB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.5686, allocations: 275.2 kB / 0.5274 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.5687, allocations: 25.81 kB / 0.5274 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.5695, allocations: 56.78 kB / 0.5275 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/0.5699, allocations: 103.6 kB / 0.5276 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.57, allocations: 34.2 kB / 0.5276 GB, free: 22.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.5704, allocations: 305.7 kB / 0.5279 GB, free: 22.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5704, allocations: 4 kB / 0.5279 GB, free: 22.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001728/0.5721, allocations: 416.7 kB / 0.5283 GB, free: 22.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.000313/0.5725, allocations: 164.6 kB / 0.5285 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.5765, allocations: 1.85 MB / 0.5303 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5765, allocations: 0 / 0.5303 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.579, allocations: 1.231 MB / 0.5315 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.5797, allocations: 81.38 kB / 0.5315 GB, free: 20.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.584, allocations: 2.541 MB / 0.534 GB, free: 18.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.5847, allocations: 1.098 MB / 0.5351 GB, free: 18.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.5853, allocations: 110.5 kB / 0.5352 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5855, allocations: 62.73 kB / 0.5353 GB, free: 18.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5855, allocations: 0 / 0.5353 GB, free: 18.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02701/0.6125, allocations: 16.3 MB / 0.5512 GB, free: 4.637 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)