Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 109.5 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 55.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.0905, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2072/0.2977, allocations: 16.84 MB / 391.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008687/0.3065, allocations: 4.243 MB / 395.6 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.3098, allocations: 115.9 kB / 395.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01685/0.3267, allocations: 7.478 MB / 403.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.3338, allocations: 1.543 MB / 404.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.3376, allocations: 1.222 MB / 405.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.348, allocations: 8.568 MB / 414.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03148/0.3795, allocations: 22.58 MB / 437.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00793/0.3875, allocations: 4.964 MB / 442.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008678/0.3962, allocations: 5.532 MB / 447.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003386/0.3996, allocations: 1.402 MB / 449 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.4042, allocations: 1.66 MB / 450.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.4074, allocations: 2.704 MB / 453.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006724/0.4141, allocations: 5.389 MB / 458.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.4296, allocations: 18.53 MB / 477.3 MB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4296, allocations: 0 / 477.3 MB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4296, allocations: 0 / 477.3 MB, free: 8.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003627/0.43, allocations: 0 / 477.3 MB, free: 8.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02851/0.4585, allocations: 10.79 MB / 488.1 MB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.4586, allocations: 8.031 kB / 488.1 MB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/0.4877, allocations: 5.71 MB / 493.8 MB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009674/0.4974, allocations: 4.845 MB / 498.6 MB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005571/0.498, allocations: 0.6987 MB / 499.3 MB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.5, allocations: 0.9179 MB / 0.4885 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.5266, allocations: 13.6 MB / 0.5018 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/0.5269, allocations: 3.906 kB / 0.5018 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/0.5289, allocations: 392 kB / 0.5022 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004749/0.5294, allocations: 460 kB / 0.5026 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.5531, allocations: 12.82 MB / 0.5151 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4425/0.9957, allocations: 46.32 MB / 0.5604 GB, free: 120.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/1.008, allocations: 17.1 MB / 0.5771 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/1.011, allocations: 1.863 MB / 0.5789 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/1.021, allocations: 5.965 MB / 0.5847 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.021, allocations: 54.47 kB / 0.5848 GB, free: 105.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.627e-06/1.021, allocations: 0 / 0.5848 GB, free: 105.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007602/1.029, allocations: 4.31 MB / 0.589 GB, free: 104.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/1.029, allocations: 77.09 kB / 0.5891 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005423/1.034, allocations: 3.32 MB / 0.5923 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.034, allocations: 56.39 kB / 0.5923 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.036, allocations: 4.183 MB / 0.5964 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/1.037, allocations: 0.6914 MB / 0.5971 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.038, allocations: 1.066 MB / 0.5981 GB, free: 99.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/1.038, allocations: 301.1 kB / 0.5984 GB, free: 99.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.04, allocations: 2.039 MB / 0.6004 GB, free: 98.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/1.044, allocations: 4.689 MB / 0.605 GB, free: 94.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/1.05, allocations: 7.096 MB / 0.6119 GB, free: 88.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.072e-05/1.05, allocations: 26.5 kB / 0.612 GB, free: 88.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008728/1.058, allocations: 7.012 MB / 0.6188 GB, free: 85.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/1.058, allocations: 44.84 kB / 0.6189 GB, free: 85.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/1.059, allocations: 91.22 kB / 0.6189 GB, free: 85.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007576/1.059, allocations: 432.8 kB / 0.6194 GB, free: 85.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.062, allocations: 1.184 MB / 0.6205 GB, free: 85.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/1.066, allocations: 4.387 MB / 0.6248 GB, free: 82.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/1.07, allocations: 0.7139 MB / 0.6255 GB, free: 81.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/1.07, allocations: 291.8 kB / 0.6258 GB, free: 81.58 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00474/1.075, allocations: 3.487 MB / 0.6292 GB, free: 79.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/1.075, allocations: 278.2 kB / 0.6294 GB, free: 79.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/1.079, allocations: 3.312 MB / 0.6327 GB, free: 76.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002876/1.082, allocations: 2.542 MB / 0.6352 GB, free: 73.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.082, allocations: 4 kB / 0.6352 GB, free: 73.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.082, allocations: 12.7 kB / 0.6352 GB, free: 73.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.095, allocations: 9.302 MB / 0.6443 GB, free: 64.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.095, allocations: 0 / 0.6443 GB, free: 64.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.096, allocations: 359.4 kB / 0.6446 GB, free: 64.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006433/1.097, allocations: 316.7 kB / 0.6449 GB, free: 63.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.097, allocations: 47.94 kB / 0.6449 GB, free: 63.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/1.101, allocations: 4.193 MB / 0.649 GB, free: 59.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.101, allocations: 0 / 0.649 GB, free: 59.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/1.107, allocations: 4.698 MB / 0.6536 GB, free: 54.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.108, allocations: 0.5868 MB / 0.6542 GB, free: 54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/1.108, allocations: 40.06 kB / 0.6542 GB, free: 53.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.109, allocations: 135.8 kB / 0.6544 GB, free: 53.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.109, allocations: 129.8 kB / 0.6545 GB, free: 53.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.11, allocations: 52 kB / 0.6545 GB, free: 53.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002925/1.113, allocations: 2.194 MB / 0.6567 GB, free: 51.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.113, allocations: 0 / 0.6567 GB, free: 51.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005475/1.118, allocations: 2.034 MB / 0.6587 GB, free: 49.42 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/1.118, allocations: 207.8 kB / 0.6589 GB, free: 49.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00585/1.124, allocations: 4.716 MB / 0.6635 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.124, allocations: 0 / 0.6635 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.126, allocations: 1.594 MB / 0.665 GB, free: 42.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.129, allocations: 0.6838 MB / 0.6657 GB, free: 42.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.148, allocations: 13.7 MB / 0.6791 GB, free: 28.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00423/1.153, allocations: 5.788 MB / 0.6847 GB, free: 22.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003702/1.156, allocations: 1.828 MB / 0.6865 GB, free: 20.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/1.157, allocations: 239.4 kB / 0.6867 GB, free: 20.64 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/1.157, allocations: 0 / 0.6867 GB, free: 20.64 MB / 478.1 MB Notification: Performance of Templates: time 0.06549/1.222, allocations: 39.58 MB / 0.7254 GB, free: 13.08 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)