Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00679/0.00679, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001336/0.001337, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.00152/0.00152, allocations: 51.94 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08807, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2256/0.3137, allocations: 16.85 MB / 390 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.327, allocations: 4.234 MB / 394.3 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/0.3319, allocations: 119.9 kB / 394.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02216/0.3541, allocations: 7.49 MB / 401.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009862/0.364, allocations: 1.539 MB / 403.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006654/0.3707, allocations: 1.22 MB / 404.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01823/0.3889, allocations: 8.566 MB / 413.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04089/0.4299, allocations: 22.58 MB / 435.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.4409, allocations: 4.968 MB / 440.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.4522, allocations: 5.525 MB / 446.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004667/0.4569, allocations: 1.41 MB / 447.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006737/0.4637, allocations: 1.656 MB / 449.3 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005014/0.4687, allocations: 2.708 MB / 452 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0124/0.4812, allocations: 5.389 MB / 457.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02654/0.5077, allocations: 18.53 MB / 476 MB, free: 8.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.5078, allocations: 0 / 476 MB, free: 8.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5078, allocations: 0 / 476 MB, free: 8.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006661/0.5085, allocations: 0 / 476 MB, free: 8.602 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.03821/0.5467, allocations: 10.79 MB / 486.7 MB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5468, allocations: 12.03 kB / 486.8 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03165/0.5784, allocations: 5.694 MB / 492.4 MB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.5894, allocations: 4.849 MB / 497.3 MB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/0.5903, allocations: 0.7025 MB / 498 MB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004275/0.5946, allocations: 0.9179 MB / 498.9 MB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/0.6407, allocations: 13.61 MB / 0.5005 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005523/0.6413, allocations: 7.906 kB / 0.5005 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004258/0.6456, allocations: 388 kB / 0.5009 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006849/0.6463, allocations: 460 kB / 0.5013 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/0.6779, allocations: 12.82 MB / 0.5138 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4972/1.175, allocations: 46.33 MB / 0.5591 GB, free: 120.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/1.19, allocations: 17.09 MB / 0.5758 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/1.193, allocations: 1.866 MB / 0.5776 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/1.204, allocations: 5.966 MB / 0.5834 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.204, allocations: 54.66 kB / 0.5835 GB, free: 105.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.888e-06/1.204, allocations: 3.531 kB / 0.5835 GB, free: 105.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007711/1.212, allocations: 4.308 MB / 0.5877 GB, free: 104.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.212, allocations: 75.27 kB / 0.5878 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/1.218, allocations: 3.315 MB / 0.591 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/1.218, allocations: 55.89 kB / 0.5911 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002346/1.22, allocations: 4.192 MB / 0.5951 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006372/1.221, allocations: 0.6902 MB / 0.5958 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/1.223, allocations: 1.065 MB / 0.5969 GB, free: 99.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.485e-05/1.223, allocations: 304.8 kB / 0.5972 GB, free: 99.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/1.225, allocations: 2.041 MB / 0.5991 GB, free: 98.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/1.229, allocations: 4.695 MB / 0.6037 GB, free: 94.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/1.235, allocations: 7.092 MB / 0.6107 GB, free: 88.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.501e-05/1.236, allocations: 25.62 kB / 0.6107 GB, free: 88.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01032/1.246, allocations: 7.013 MB / 0.6175 GB, free: 85.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/1.246, allocations: 43.41 kB / 0.6176 GB, free: 85.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.246, allocations: 94.59 kB / 0.6177 GB, free: 85.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/1.247, allocations: 430.6 kB / 0.6181 GB, free: 85.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.251, allocations: 1.182 MB / 0.6192 GB, free: 85.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/1.255, allocations: 4.385 MB / 0.6235 GB, free: 82.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/1.259, allocations: 0.7128 MB / 0.6242 GB, free: 81.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007258/1.26, allocations: 288.8 kB / 0.6245 GB, free: 81.54 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.005888/1.266, allocations: 3.485 MB / 0.6279 GB, free: 79.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007389/1.267, allocations: 285.2 kB / 0.6282 GB, free: 79.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/1.272, allocations: 3.309 MB / 0.6314 GB, free: 76.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003165/1.275, allocations: 2.55 MB / 0.6339 GB, free: 73.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.275, allocations: 6 kB / 0.6339 GB, free: 73.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.275, allocations: 7.969 kB / 0.6339 GB, free: 73.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.291, allocations: 9.295 MB / 0.643 GB, free: 64.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.291, allocations: 4 kB / 0.643 GB, free: 64.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.292, allocations: 355.5 kB / 0.6433 GB, free: 64.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006761/1.293, allocations: 308.7 kB / 0.6436 GB, free: 63.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.293, allocations: 51.92 kB / 0.6437 GB, free: 63.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/1.297, allocations: 4.193 MB / 0.6477 GB, free: 59.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.297, allocations: 0 / 0.6477 GB, free: 59.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/1.303, allocations: 4.702 MB / 0.6523 GB, free: 54.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.304, allocations: 0.5868 MB / 0.6529 GB, free: 54.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007459/1.305, allocations: 40.06 kB / 0.653 GB, free: 53.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.306, allocations: 131.8 kB / 0.6531 GB, free: 53.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/1.306, allocations: 125.8 kB / 0.6532 GB, free: 53.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.306, allocations: 52.83 kB / 0.6532 GB, free: 53.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003328/1.31, allocations: 2.198 MB / 0.6554 GB, free: 51.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.31, allocations: 0 / 0.6554 GB, free: 51.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005836/1.316, allocations: 2.032 MB / 0.6574 GB, free: 49.45 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.000533/1.316, allocations: 209.6 kB / 0.6576 GB, free: 49.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006748/1.323, allocations: 4.713 MB / 0.6622 GB, free: 44.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.323, allocations: 5.938 kB / 0.6622 GB, free: 44.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.325, allocations: 1.598 MB / 0.6637 GB, free: 42.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.328, allocations: 0.6853 MB / 0.6644 GB, free: 42.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.35, allocations: 13.69 MB / 0.6778 GB, free: 28.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00594/1.356, allocations: 5.792 MB / 0.6834 GB, free: 22.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003918/1.36, allocations: 1.832 MB / 0.6852 GB, free: 20.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/1.361, allocations: 235.4 kB / 0.6855 GB, free: 20.67 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/1.361, allocations: 0 / 0.6855 GB, free: 20.67 MB / 478.1 MB Notification: Performance of Templates: time 0.06872/1.429, allocations: 39.58 MB / 0.7241 GB, free: 13.11 MB / 0.4982 GB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)