Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001276/0.001276, allocations: 193.1 kB / 16.13 MB, free: 6.715 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.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.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.001316/0.001316, allocations: 47.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2179, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01709/0.235, allocations: 16.57 MB / 341.2 MB, free: 3.527 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.2452, allocations: 4.194 MB / 345.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.249, allocations: 115.7 kB / 345.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.264, allocations: 7.087 MB / 352.6 MB, free: 8.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.2704, allocations: 1.372 MB / 354 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.2742, allocations: 1.112 MB / 355.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.2854, allocations: 8.319 MB / 363.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02992/0.3154, allocations: 18.97 MB / 382.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.3227, allocations: 4.401 MB / 386.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008735/0.3315, allocations: 5.357 MB / 392.2 MB, free: 312 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.3345, allocations: 1.035 MB / 393.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.338, allocations: 1.281 MB / 394.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.3399, allocations: 2.31 MB / 396.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006057/0.3459, allocations: 4.987 MB / 401.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.364, allocations: 18.18 MB / 420 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3641, allocations: 0 / 420 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3641, allocations: 4 kB / 420 MB, free: 4.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004879/0.3646, allocations: 0 / 420 MB, free: 4.43 MB / 350.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.0336/0.3982, allocations: 10.81 MB / 430.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3983, allocations: 8.031 kB / 430.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0307/0.429, allocations: 5.702 MB / 436.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.4408, allocations: 4.841 MB / 441.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009815/0.4419, allocations: 0.7025 MB / 442 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004312/0.4462, allocations: 0.914 MB / 442.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4205/0.8668, allocations: 13.62 MB / 456.6 MB, free: 95.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.8671, allocations: 7.406 kB / 456.6 MB, free: 95.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002042/0.8691, allocations: 391.7 kB / 457 MB, free: 95.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007216/0.8699, allocations: 459.9 kB / 457.4 MB, free: 95.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.8935, allocations: 12.84 MB / 470.2 MB, free: 91.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/0.9554, allocations: 46.93 MB / 0.505 GB, free: 49.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.9664, allocations: 17.12 MB / 0.5218 GB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.9688, allocations: 1.905 MB / 0.5236 GB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009192/0.978, allocations: 6.095 MB / 0.5296 GB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.9781, allocations: 68.42 kB / 0.5296 GB, free: 21.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 4.218e-06/0.9781, allocations: 0 / 0.5296 GB, free: 21.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.007173/0.9853, allocations: 4.408 MB / 0.5339 GB, free: 17.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.9853, allocations: 73.41 kB / 0.534 GB, free: 17.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.9905, allocations: 3.324 MB / 0.5373 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.9906, allocations: 57.7 kB / 0.5373 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.9925, allocations: 4.176 MB / 0.5414 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/0.9931, allocations: 0.7132 MB / 0.5421 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.9948, allocations: 1.063 MB / 0.5431 GB, free: 7.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.9949, allocations: 301.1 kB / 0.5434 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.9975, allocations: 2.079 MB / 0.5454 GB, free: 5.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/1.001, allocations: 4.734 MB / 0.5501 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008753/1.01, allocations: 7.171 MB / 0.5571 GB, free: 6.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.381e-05/1.01, allocations: 28 kB / 0.5571 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01274/1.023, allocations: 7.097 MB / 0.564 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/1.023, allocations: 44 kB / 0.5641 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/1.023, allocations: 92 kB / 0.5642 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/1.024, allocations: 427.4 kB / 0.5646 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.028, allocations: 1.178 MB / 0.5657 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/1.033, allocations: 4.064 MB / 0.5697 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.037, allocations: 0.7235 MB / 0.5704 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/1.037, allocations: 292 kB / 0.5707 GB, free: 8.914 MB / 414.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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005714/1.043, allocations: 3.489 MB / 0.5741 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/1.044, allocations: 284.3 kB / 0.5744 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/1.05, allocations: 3.399 MB / 0.5777 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004023/1.054, allocations: 2.62 MB / 0.5802 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.054, allocations: 4 kB / 0.5802 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.054, allocations: 11.95 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.071, allocations: 9.435 MB / 0.5895 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/1.071, allocations: 0 / 0.5895 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.072, allocations: 363.4 kB / 0.5898 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007292/1.073, allocations: 313.3 kB / 0.5901 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.073, allocations: 43.98 kB / 0.5901 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/1.078, allocations: 3.876 MB / 0.5939 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.078, allocations: 0 / 0.5939 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/1.085, allocations: 4.833 MB / 0.5986 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.086, allocations: 0.6062 MB / 0.5992 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/1.086, allocations: 35.98 kB / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.087, allocations: 127.8 kB / 0.5994 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/1.088, allocations: 133.8 kB / 0.5995 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.088, allocations: 60.05 kB / 0.5996 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003044/1.091, allocations: 2.194 MB / 0.6017 GB, free: 8.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.091, allocations: 0 / 0.6017 GB, free: 8.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005367/1.096, allocations: 2.029 MB / 0.6037 GB, free: 6.746 MB / 446.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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004845/1.097, allocations: 204.2 kB / 0.6039 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/1.104, allocations: 4.795 MB / 0.6086 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.104, allocations: 4.25 kB / 0.6086 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002243/1.106, allocations: 1.633 MB / 0.6102 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1609/1.267, allocations: 0.6374 MB / 0.6108 GB, free: 150.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.289, allocations: 17.64 MB / 0.628 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/1.294, allocations: 5.796 MB / 0.6337 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00411/1.298, allocations: 1.834 MB / 0.6355 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/1.298, allocations: 237 kB / 0.6357 GB, free: 140 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/1.298, allocations: 0 / 0.6357 GB, free: 140 MB / 446.1 MB Notification: Performance of Templates: time 0.06119/1.36, allocations: 40.92 MB / 0.6757 GB, free: 102.9 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)