Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001098/0.001098, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009246/0.0009246, allocations: 43.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2226, allocations: 49.44 MB / 401.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006506/0.2291, allocations: 5.998 MB / 407.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2315, allocations: 1.643 MB / 409.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.2319, allocations: 47.81 kB / 409.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.2324, allocations: 309.5 kB / 409.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008734/0.2333, allocations: 381.5 kB / 409.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.2339, allocations: 351.6 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.2355, allocations: 2.009 MB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.2381, allocations: 2.731 MB / 414.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.2391, allocations: 1.055 MB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.2403, allocations: 1.191 MB / 417.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.2406, allocations: 312 kB / 417.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.2413, allocations: 479.6 kB / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005525/0.2419, allocations: 0.7247 MB / 418.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.243, allocations: 1.268 MB / 419.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.2458, allocations: 3.802 MB / 423.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2459, allocations: 4 kB / 423.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2459, allocations: 0 / 423.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.2459, allocations: 0 / 423.7 MB, free: 2.609 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003959/0.2499, allocations: 2.465 MB / 426.1 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2499, allocations: 15.89 kB / 426.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.2505, allocations: 238.4 kB / 426.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.2526, allocations: 1.306 MB / 427.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.2527, allocations: 164.9 kB / 427.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.253, allocations: 224.1 kB / 428.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.2569, allocations: 2.534 MB / 430.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.257, allocations: 0 / 430.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.2572, allocations: 92 kB / 430.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.2572, allocations: 67.92 kB / 430.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.2606, allocations: 2.137 MB / 432.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2713, allocations: 7.49 MB / 440.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2725, allocations: 1.257 MB / 441.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2736, allocations: 0.6413 MB / 442.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.2736, allocations: 8.547 kB / 442.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2737, allocations: 39.12 kB / 442.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.086e-06/0.2737, allocations: 4 kB / 442.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003949/0.2776, allocations: 2.427 MB / 444.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2777, allocations: 55.97 kB / 444.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.2786, allocations: 0.801 MB / 445.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.2787, allocations: 33.7 kB / 445.7 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.2792, allocations: 0.9138 MB / 446.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.2793, allocations: 224.8 kB / 446.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2796, allocations: 150.5 kB / 446.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2797, allocations: 394.8 kB / 447.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.2803, allocations: 365.7 kB / 447.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.281, allocations: 0.5756 MB / 448.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.2822, allocations: 0.9816 MB / 449.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2822, allocations: 4 kB / 449.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001691/0.2839, allocations: 1.143 MB / 450.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2839, allocations: 20.42 kB / 450.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.284, allocations: 8 kB / 450.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.2842, allocations: 108.8 kB / 450.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.2849, allocations: 179.7 kB / 450.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.2871, allocations: 2.321 MB / 453 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.2876, allocations: 47.97 kB / 453.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.2876, allocations: 31.98 kB / 453.1 MB, free: 4.188 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008582/0.2885, allocations: 0.6419 MB / 453.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.2887, allocations: 86.91 kB / 453.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.2889, allocations: 99.56 kB / 453.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2889, allocations: 7.922 kB / 453.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2889, allocations: 0 / 453.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.2893, allocations: 224.1 kB / 454.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2894, allocations: 16.05 kB / 454.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.2898, allocations: 47.94 kB / 454.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.29, allocations: 52.48 kB / 454.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001777/0.2917, allocations: 0.9875 MB / 455.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001908/0.2937, allocations: 1.423 MB / 456.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005212/0.2942, allocations: 384.2 kB / 457 MB, free: 168 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000673/0.2949, allocations: 0.5575 MB / 457.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Backend: time 8.82e-07/0.2949, allocations: 4 kB / 457.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.2965, allocations: 0.8045 MB / 458.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of SimCode: time 0.005238/0.3018, allocations: 3.567 MB / 462 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02301/0.3248, allocations: 13.73 MB / 475.7 MB, free: 13.59 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1)