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.007572/0.007572, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001439/0.001439, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.386/1.386, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001202/0.001202, allocations: 53.8 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.09017, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01752/0.1077, allocations: 16.85 MB / 390 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.1192, allocations: 4.244 MB / 394.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.1233, allocations: 115.7 kB / 394.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01683/0.1402, allocations: 7.488 MB / 401.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.1468, allocations: 1.534 MB / 403.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.1507, allocations: 1.224 MB / 404.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1608, allocations: 8.569 MB / 413.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03451/0.1953, allocations: 22.57 MB / 435.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.2025, allocations: 4.96 MB / 440.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008557/0.211, allocations: 5.54 MB / 446.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004164/0.2152, allocations: 1.406 MB / 447.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/0.2222, allocations: 1.648 MB / 449.3 MB, free: 4.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005359/0.2276, allocations: 2.708 MB / 452 MB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2591/0.4867, allocations: 5.379 MB / 457.4 MB, free: 31.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02589/0.5126, allocations: 18.54 MB / 476 MB, free: 28.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.5127, allocations: 1.375 kB / 476 MB, free: 28.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5127, allocations: 0 / 476 MB, free: 28.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009446/0.5137, allocations: 0 / 476 MB, free: 28.27 MB / 382.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.04062/0.5543, allocations: 10.79 MB / 486.7 MB, free: 21.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5544, allocations: 7.344 kB / 486.8 MB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03085/0.5852, allocations: 5.707 MB / 492.5 MB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.5975, allocations: 4.843 MB / 497.3 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/0.5981, allocations: 0.7037 MB / 498 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0054/0.6035, allocations: 0.919 MB / 498.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04071/0.6443, allocations: 13.6 MB / 0.5005 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/0.6446, allocations: 11.91 kB / 0.5005 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004011/0.6486, allocations: 389.5 kB / 0.5009 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/0.649, allocations: 464 kB / 0.5013 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/0.683, allocations: 12.82 MB / 0.5139 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08721/0.7703, allocations: 46.33 MB / 0.5591 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/0.7864, allocations: 17.09 MB / 0.5758 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/0.7893, allocations: 1.866 MB / 0.5776 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.7996, allocations: 5.958 MB / 0.5834 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.7997, allocations: 54.67 kB / 0.5835 GB, free: 11.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.238e-06/0.7997, allocations: 0 / 0.5835 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008594/0.8083, allocations: 4.314 MB / 0.5877 GB, free: 7.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.8084, allocations: 73.34 kB / 0.5878 GB, free: 7.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.8146, allocations: 3.328 MB / 0.591 GB, free: 4.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.8148, allocations: 53.7 kB / 0.5911 GB, free: 4.047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/0.8178, allocations: 4.182 MB / 0.5951 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007296/0.8185, allocations: 0.695 MB / 0.5958 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.8201, allocations: 1.055 MB / 0.5969 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.8202, allocations: 311.8 kB / 0.5972 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/0.8233, allocations: 2.04 MB / 0.5991 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/0.828, allocations: 4.686 MB / 0.6037 GB, free: 5.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/0.8364, allocations: 7.102 MB / 0.6107 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.588e-05/0.8365, allocations: 31.94 kB / 0.6107 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01196/0.8484, allocations: 7.005 MB / 0.6175 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.8485, allocations: 44 kB / 0.6176 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.8487, allocations: 92 kB / 0.6177 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/0.8496, allocations: 437.6 kB / 0.6181 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/0.8533, allocations: 1.171 MB / 0.6192 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.8586, allocations: 4.381 MB / 0.6235 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.8629, allocations: 0.7198 MB / 0.6242 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007617/0.8637, allocations: 288 kB / 0.6245 GB, free: 180 kB / 0.4981 GB 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.006621/0.8703, allocations: 3.488 MB / 0.6279 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007046/0.871, allocations: 284.4 kB / 0.6282 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.8769, allocations: 3.31 MB / 0.6314 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003772/0.8807, allocations: 2.539 MB / 0.6339 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.8807, allocations: 8 kB / 0.6339 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.8807, allocations: 11.97 kB / 0.6339 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2289/1.11, allocations: 9.296 MB / 0.643 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.11, allocations: 1.438 kB / 0.643 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.111, allocations: 356.3 kB / 0.6433 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/1.112, allocations: 309.7 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/1.113, allocations: 41.58 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/1.117, allocations: 4.197 MB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.117, allocations: 3.938 kB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/1.123, allocations: 4.7 MB / 0.6523 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.124, allocations: 0.5913 MB / 0.6529 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/1.125, allocations: 34.53 kB / 0.6529 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.126, allocations: 136.3 kB / 0.6531 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.126, allocations: 129.6 kB / 0.6532 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.126, allocations: 59.39 kB / 0.6533 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002717/1.129, allocations: 2.196 MB / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/1.129, allocations: 0 / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005461/1.134, allocations: 2.024 MB / 0.6574 GB, free: 180.2 MB / 0.5137 GB 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.000437/1.135, allocations: 209.6 kB / 0.6576 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005732/1.141, allocations: 4.721 MB / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.141, allocations: 0 / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.142, allocations: 1.601 MB / 0.6637 GB, free: 177.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.145, allocations: 0.6788 MB / 0.6644 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.168, allocations: 13.69 MB / 0.6778 GB, free: 168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.173, allocations: 5.796 MB / 0.6834 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003888/1.177, allocations: 1.829 MB / 0.6852 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/1.178, allocations: 231.3 kB / 0.6854 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.634e-06/1.178, allocations: 3.828 kB / 0.6855 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.06363/1.241, allocations: 39.59 MB / 0.7241 GB, free: 123.9 MB / 0.5137 GB 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)