Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 111 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1994, allocations: 50.55 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03027/0.2297, allocations: 30.97 MB / 440.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.2451, allocations: 8.895 MB / 449.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.2478, allocations: 191.4 kB / 450 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009782/0.2576, allocations: 4.914 MB / 454.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.2638, allocations: 2.976 MB / 457.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.267, allocations: 1.616 MB / 459.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008156/0.2751, allocations: 8.82 MB / 468.3 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.289, allocations: 12.86 MB / 481.2 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/0.2935, allocations: 4.242 MB / 485.4 MB, free: 5.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004977/0.2985, allocations: 4.831 MB / 490.3 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.2999, allocations: 1.164 MB / 491.4 MB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3023, allocations: 1.542 MB / 493 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.3041, allocations: 2.416 MB / 495.4 MB, free: 11.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004163/0.3083, allocations: 4.68 MB / 0.4884 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.3213, allocations: 15.84 MB / 0.5038 GB, free: 7.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3213, allocations: 4 kB / 0.5038 GB, free: 7.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3213, allocations: 4 kB / 0.5038 GB, free: 7.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.3215, allocations: 0 / 0.5038 GB, free: 7.195 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02127/0.3427, allocations: 9.779 MB / 0.5134 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3428, allocations: 11.97 kB / 0.5134 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03028/0.3731, allocations: 5.27 MB / 0.5185 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008068/0.3811, allocations: 5.112 MB / 0.5235 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.3815, allocations: 0.5299 MB / 0.5241 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.3826, allocations: 0.7029 MB / 0.5247 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.3992, allocations: 11.32 MB / 0.5358 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.3994, allocations: 19.84 kB / 0.5358 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007488/0.4001, allocations: 292 kB / 0.5361 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003897/0.4005, allocations: 451 kB / 0.5365 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1779/0.5784, allocations: 10.83 MB / 0.5471 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03772/0.6162, allocations: 38.48 MB / 0.5847 GB, free: 84.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.6282, allocations: 28.29 MB / 0.6123 GB, free: 52.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/0.6312, allocations: 2.685 MB / 0.6149 GB, free: 49.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009909/0.6411, allocations: 8.413 MB / 0.6231 GB, free: 40.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.6412, allocations: 52.56 kB / 0.6232 GB, free: 40.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 4.358e-06/0.6412, allocations: 3.984 kB / 0.6232 GB, free: 40.82 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = smpm.stator.core.Phi.im * smpm.airGap.rotator.re - smpm.stator.core.Phi.re * smpm.airGap.rotator.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit could not be translated