Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo) 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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3603/0.3603, allocations: 78.54 MB / 93.49 MB, free: 4.566 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008412, allocations: 101 kB / 113.2 MB, free: 10.27 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.5 kB / 133.1 MB, free: 6.453 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 375.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.02219/0.02219, allocations: 5.576 MB / 451.5 MB, free: 14.51 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005384, allocations: 19.98 kB / 0.5215 GB, free: 11.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3773, allocations: 70.7 MB / 0.5906 GB, free: 45.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.003889/0.3812, allocations: 3.659 MB / 0.5941 GB, free: 42.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3835, allocations: 1.228 MB / 0.5953 GB, free: 41.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.3838, allocations: 9.656 kB / 0.5953 GB, free: 41.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.3841, allocations: 90.66 kB / 0.5954 GB, free: 41.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.3846, allocations: 246.2 kB / 0.5957 GB, free: 40.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3857, allocations: 434 kB / 0.5961 GB, free: 40.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3867, allocations: 0.5317 MB / 0.5966 GB, free: 40.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.387, allocations: 141.4 kB / 0.5967 GB, free: 40.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.3875, allocations: 299.1 kB / 0.597 GB, free: 40.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.3882, allocations: 386 kB / 0.5974 GB, free: 39.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/0.3883, allocations: 35.03 kB / 0.5974 GB, free: 39.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.3886, allocations: 92.03 kB / 0.5975 GB, free: 39.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3887, allocations: 127.8 kB / 0.5976 GB, free: 39.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3889, allocations: 133.6 kB / 0.5978 GB, free: 39.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.3895, allocations: 0.601 MB / 0.5983 GB, free: 39.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3895, allocations: 1.281 kB / 0.5983 GB, free: 39.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3895, allocations: 0 / 0.5983 GB, free: 39.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3895, allocations: 0 / 0.5983 GB, free: 39.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003516/0.3931, allocations: 1.133 MB / 0.5995 GB, free: 38.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.3931, allocations: 9.062 kB / 0.5995 GB, free: 38.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3942, allocations: 185.4 kB / 0.5996 GB, free: 38.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.3949, allocations: 471.8 kB / 0.6001 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.395, allocations: 69.47 kB / 0.6002 GB, free: 37.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.3951, allocations: 45.44 kB / 0.6002 GB, free: 37.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3962, allocations: 0.5603 MB / 0.6007 GB, free: 37.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.3962, allocations: 4.781 kB / 0.6007 GB, free: 37.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.3963, allocations: 15.53 kB / 0.6008 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3963, allocations: 11 kB / 0.6008 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3974, allocations: 0.5113 MB / 0.6013 GB, free: 37.17 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.4008, allocations: 2.306 MB / 0.6035 GB, free: 35.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4019, allocations: 0.6426 MB / 0.6042 GB, free: 34.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.402, allocations: 5.375 kB / 0.6042 GB, free: 34.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.402, allocations: 46.23 kB / 0.6042 GB, free: 34.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 4.268e-06/0.402, allocations: 0 / 0.6042 GB, free: 34.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.0089/0.4109, allocations: 3.164 MB / 0.6073 GB, free: 31.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.411, allocations: 85.48 kB / 0.6074 GB, free: 31.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.4115, allocations: 498.1 kB / 0.6078 GB, free: 31.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.4116, allocations: 33.7 kB / 0.6079 GB, free: 31.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4117, allocations: 288.1 kB / 0.6082 GB, free: 31.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4119, allocations: 189.2 kB / 0.6083 GB, free: 30.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.4119, allocations: 12 kB / 0.6083 GB, free: 30.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.412, allocations: 366.8 kB / 0.6087 GB, free: 30.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.4125, allocations: 249 kB / 0.6089 GB, free: 30.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.4129, allocations: 361.1 kB / 0.6093 GB, free: 29.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.4134, allocations: 292.7 kB / 0.6096 GB, free: 29.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4134, allocations: 0 / 0.6096 GB, free: 29.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007222/0.4207, allocations: 1.932 MB / 0.6114 GB, free: 27.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4207, allocations: 8 kB / 0.6115 GB, free: 27.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4207, allocations: 0 / 0.6115 GB, free: 27.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00662/0.4274, allocations: 1.286 MB / 0.6127 GB, free: 26.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.4279, allocations: 107.8 kB / 0.6128 GB, free: 26.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.4386, allocations: 6.142 MB / 0.6188 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.4394, allocations: 52.11 kB / 0.6189 GB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.4395, allocations: 23.98 kB / 0.6189 GB, free: 19.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.4398, allocations: 173.7 kB / 0.619 GB, free: 19.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4399, allocations: 59.25 kB / 0.6191 GB, free: 19.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.4439, allocations: 1.514 MB / 0.6206 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4439, allocations: 8 kB / 0.6206 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4439, allocations: 4 kB / 0.6206 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4439, allocations: 0 / 0.6206 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.4487, allocations: 2.294 MB / 0.6228 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4487, allocations: 3.938 kB / 0.6228 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.4492, allocations: 87.89 kB / 0.6229 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.4516, allocations: 0.6612 MB / 0.6236 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.4516, allocations: 19.95 kB / 0.6236 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/0.4573, allocations: 4.665 MB / 0.6281 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4573, allocations: 4.062 kB / 0.6281 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.462, allocations: 2.001 MB / 0.6301 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.4624, allocations: 132.5 kB / 0.6302 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4626, allocations: 12.12 kB / 0.6302 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.4633, allocations: 43.97 kB / 0.6303 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4636, allocations: 68.28 kB / 0.6303 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.4636, allocations: 12 kB / 0.6304 GB, free: 7.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.4641, allocations: 354.9 kB / 0.6307 GB, free: 7.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4641, allocations: 4 kB / 0.6307 GB, free: 7.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009902/0.4651, allocations: 192 kB / 0.6309 GB, free: 7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(4,87.5%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.4653, allocations: 119.2 kB / 0.631 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.4676, allocations: 0.947 MB / 0.6319 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4676, allocations: 0 / 0.6319 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.4689, allocations: 0.7225 MB / 0.6326 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.4695, allocations: 53.95 kB / 0.6327 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.4718, allocations: 1.541 MB / 0.6342 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4722, allocations: 0.8953 MB / 0.6351 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.4724, allocations: 60.34 kB / 0.6351 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4726, allocations: 39.44 kB / 0.6352 GB, free: 2.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4726, allocations: 0 / 0.6352 GB, free: 2.52 MB / 414.1 MB Notification: Performance of Templates: time 0.02075/0.4933, allocations: 10.97 MB / 0.6459 GB, free: 7.59 MB / 430.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)