Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.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.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3664/0.3664, allocations: 78.53 MB / 93.48 MB, free: 8.629 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.0008931/0.0008932, allocations: 96.97 kB / 113.2 MB, free: 5.086 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.001081/0.001081, allocations: 191.8 kB / 133.1 MB, free: 10.24 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 375.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.02523/0.02523, allocations: 5.581 MB / 451.6 MB, free: 2.641 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 20 kB / 0.5215 GB, free: 51.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1518, allocations: 70.69 MB / 0.5906 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI): time 0.005968/0.1578, allocations: 5.211 MB / 0.5957 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004091/0.162, allocations: 1.565 MB / 0.5972 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007538/0.1627, allocations: 8 kB / 0.5972 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.1632, allocations: 142.9 kB / 0.5973 GB, free: 6.082 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation tf1_mt1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation tf2_mt1.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1643, allocations: 382.7 kB / 0.5977 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1656, allocations: 0.5055 MB / 0.5982 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1668, allocations: 0.8194 MB / 0.599 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.1672, allocations: 224.1 kB / 0.5992 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.1677, allocations: 442.3 kB / 0.5996 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.1684, allocations: 0.5368 MB / 0.6001 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.1685, allocations: 52 kB / 0.6002 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.1688, allocations: 95.92 kB / 0.6003 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.169, allocations: 191.2 kB / 0.6005 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1691, allocations: 193.1 kB / 0.6007 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.17, allocations: 0.9274 MB / 0.6016 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.17, allocations: 3.938 kB / 0.6016 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.17, allocations: 0 / 0.6016 GB, free: 1.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.17, allocations: 0 / 0.6016 GB, free: 1.719 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003426/0.1734, allocations: 1.418 MB / 0.603 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1735, allocations: 8.031 kB / 0.603 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.1761, allocations: 458.1 kB / 0.6034 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.1773, allocations: 0.6395 MB / 0.604 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.1775, allocations: 91.64 kB / 0.6041 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1776, allocations: 75.98 kB / 0.6042 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1789, allocations: 0.7993 MB / 0.605 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.179, allocations: 3.938 kB / 0.605 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.1791, allocations: 32 kB / 0.605 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.1791, allocations: 23.95 kB / 0.605 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1803, allocations: 0.6988 MB / 0.6057 GB, free: 13.36 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.005973/0.1863, allocations: 3.584 MB / 0.6092 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.1878, allocations: 1.128 MB / 0.6103 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.1879, allocations: 16.64 kB / 0.6103 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.1879, allocations: 39.22 kB / 0.6104 GB, free: 8.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.1879, allocations: 0 / 0.6104 GB, free: 8.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=79): time 0.01382/0.2017, allocations: 4.395 MB / 0.6146 GB, free: 3.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.2019, allocations: 85.77 kB / 0.6147 GB, free: 3.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2029, allocations: 0.7355 MB / 0.6154 GB, free: 2.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.203, allocations: 41.7 kB / 0.6155 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.2034, allocations: 447.8 kB / 0.6159 GB, free: 2.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.2037, allocations: 284 kB / 0.6162 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.2038, allocations: 12 kB / 0.6162 GB, free: 2.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2039, allocations: 337.9 kB / 0.6165 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.2045, allocations: 329.9 kB / 0.6168 GB, free: 1.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.2053, allocations: 475.9 kB / 0.6173 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.206, allocations: 383 kB / 0.6177 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.206, allocations: 0 / 0.6177 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005194/0.2112, allocations: 1.95 MB / 0.6196 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2112, allocations: 8 kB / 0.6196 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.2113, allocations: 4 kB / 0.6196 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/0.2146, allocations: 0.8337 MB / 0.6204 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.2151, allocations: 123.8 kB / 0.6205 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.2277, allocations: 6.418 MB / 0.6268 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.2289, allocations: 43.92 kB / 0.6268 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.2291, allocations: 32 kB / 0.6268 GB, free: 6.871 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (74): * Single equations (assignments): 72 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {10 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.2296, allocations: 215.8 kB / 0.627 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.2299, allocations: 90.88 kB / 0.6271 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/0.2354, allocations: 1.882 MB / 0.629 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2354, allocations: 8 kB / 0.629 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2355, allocations: 4 kB / 0.629 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.2355, allocations: 3.984 kB / 0.629 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.2429, allocations: 3.055 MB / 0.632 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.243, allocations: 3.953 kB / 0.632 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.2435, allocations: 95.89 kB / 0.6321 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.2468, allocations: 0.8065 MB / 0.6329 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.2469, allocations: 16 kB / 0.6329 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3328/0.5796, allocations: 5.841 MB / 0.6386 GB, free: 46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5797, allocations: 1.891 kB / 0.6386 GB, free: 46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.5861, allocations: 2.475 MB / 0.641 GB, free: 45.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.5865, allocations: 176.5 kB / 0.6412 GB, free: 45.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5866, allocations: 17.05 kB / 0.6412 GB, free: 45.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.5872, allocations: 37.2 kB / 0.6412 GB, free: 45.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.5875, allocations: 83.36 kB / 0.6413 GB, free: 45.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.5876, allocations: 23.11 kB / 0.6413 GB, free: 45.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007479/0.5883, allocations: 0.5124 MB / 0.6418 GB, free: 44.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5884, allocations: 0 / 0.6418 GB, free: 44.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001257/0.5896, allocations: 296.8 kB / 0.6421 GB, free: 44.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (inf1.delta,inf1.eq,load_inertia1.w,Motor1.speed.phi,inf1.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 (53): * Single equations (assignments): 51 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {10 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002445/0.5899, allocations: 118.1 kB / 0.6422 GB, free: 44.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.5932, allocations: 1.415 MB / 0.6436 GB, free: 44.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5932, allocations: 0 / 0.6436 GB, free: 44.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.5957, allocations: 0.9908 MB / 0.6446 GB, free: 43.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.5965, allocations: 89 kB / 0.6446 GB, free: 43.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.5997, allocations: 2.135 MB / 0.6467 GB, free: 42.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.6003, allocations: 1.037 MB / 0.6477 GB, free: 41.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.6007, allocations: 79.23 kB / 0.6478 GB, free: 41.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.6009, allocations: 61.78 kB / 0.6479 GB, free: 41.46 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6009, allocations: 0 / 0.6479 GB, free: 41.46 MB / 430.1 MB Notification: Performance of Templates: time 0.02492/0.6258, allocations: 12.96 MB / 0.6605 GB, free: 37.14 MB / 430.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe 2>&1)