Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.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.MultiDomainTypeIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3645/0.3645, allocations: 78.55 MB / 94.85 MB, free: 3.82 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.001112/0.001112, allocations: 102.9 kB / 114.4 MB, free: 9.781 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.001333/0.001333, allocations: 195.8 kB / 134.1 MB, free: 6.125 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.572/1.572, allocations: 222.9 MB / 376.5 MB, free: 3.77 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6288/0.6288, allocations: 62.26 MB / 0.4957 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 135.7 kB / 0.6448 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1229, allocations: 69.51 MB / 0.7127 GB, free: 13.43 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII): time 0.007257/0.1302, allocations: 6.727 MB / 0.7193 GB, free: 6.66 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.1498, allocations: 13.66 MB / 0.7326 GB, free: 8.996 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.1529, allocations: 15.94 kB / 0.7326 GB, free: 8.98 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.259/1.412, allocations: 434.4 MB / 1.157 GB, free: 242.4 MB / 0.8108 GB [/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.1319/1.544, allocations: 217.6 MB / 1.369 GB, free: 32.16 MB / 0.8108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/1.546, allocations: 0.9297 MB / 1.37 GB, free: 31.57 MB / 0.8108 GB Notification: Performance of NFFlatten.flatten: time 0.5024/2.048, allocations: 108.2 MB / 1.476 GB, free: 82.82 MB / 0.8108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/2.049, allocations: 304.7 kB / 1.476 GB, free: 82.77 MB / 0.8108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.155/2.204, allocations: 91.32 MB / 1.565 GB, free: 69.52 MB / 0.8108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7117/2.916, allocations: 220.2 MB / 1.78 GB, free: 68.8 MB / 0.9045 GB Notification: Performance of NFPackage.collectConstants: time 0.008042/2.924, allocations: 111.8 kB / 1.78 GB, free: 68.8 MB / 0.9045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/2.932, allocations: 229.5 kB / 1.781 GB, free: 68.8 MB / 0.9045 GB Notification: Performance of NFScalarize.scalarize: time 0.04818/2.981, allocations: 65.47 MB / 1.845 GB, free: 50.81 MB / 0.9045 GB Notification: Performance of NFVerifyModel.verify: time 0.06575/3.046, allocations: 71.18 MB / 1.914 GB, free: 5.281 MB / 0.9202 GB Notification: Performance of NFConvertDAE.convert: time 0.1627/3.209, allocations: 161.1 MB / 2.071 GB, free: 1.02 MB / 0.9827 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/3.209, allocations: 1.688 kB / 2.071 GB, free: 1.02 MB / 0.9827 GB Notification: Performance of FrontEnd: time 2.625e-06/3.209, allocations: 0 / 2.071 GB, free: 1.02 MB / 0.9827 GB Notification: Performance of Transformations before backend: time 0.009296/3.219, allocations: 0 / 2.071 GB, free: 1.02 MB / 0.9827 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 1.25/4.469, allocations: 245.7 MB / 2.311 GB, free: 174.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/4.469, allocations: 8.031 kB / 2.311 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03387/4.503, allocations: 30.7 MB / 2.341 GB, free: 143.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09737/4.6, allocations: 98.45 MB / 2.437 GB, free: 52.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/4.6, allocations: 95.73 kB / 2.438 GB, free: 52.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/4.6, allocations: 79.91 kB / 2.438 GB, free: 52.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/4.602, allocations: 0.9446 MB / 2.439 GB, free: 51.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/4.602, allocations: 6.094 kB / 2.439 GB, free: 51.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/4.602, allocations: 32 kB / 2.439 GB, free: 51.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/4.602, allocations: 24 kB / 2.439 GB, free: 51.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/4.603, allocations: 0.793 MB / 2.439 GB, free: 50.77 MB / 1.014 GB 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.8515/5.455, allocations: 102 MB / 2.539 GB, free: 254.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/5.457, allocations: 1.342 MB / 2.54 GB, free: 253.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/5.458, allocations: 492.6 kB / 2.541 GB, free: 253.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/5.458, allocations: 24.25 kB / 2.541 GB, free: 253.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/5.459, allocations: 0.625 MB / 2.541 GB, free: 253.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=102): time 6.272e-06/5.459, allocations: 0 / 2.541 GB, free: 253.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=103): time 0.3236/5.783, allocations: 297.1 MB / 2.832 GB, free: 5.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/5.783, allocations: 196.5 kB / 2.832 GB, free: 5.684 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.334/9.117, allocations: 0.7224 GB / 3.554 GB, free: 143.3 MB / 1.14 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/9.117, allocations: 52.08 kB / 3.554 GB, free: 143.2 MB / 1.14 GB Notification: Performance of collectInitialEqns (initialization): time 0.2391/9.357, allocations: 173.9 MB / 3.724 GB, free: 2.336 MB / 1.171 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/9.357, allocations: 357.2 kB / 3.724 GB, free: 2.164 MB / 1.171 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006678/9.358, allocations: 173.5 kB / 3.724 GB, free: 1.988 MB / 1.171 GB Notification: Performance of setup shared object (initialization): time 0.0001348/9.358, allocations: 347.2 kB / 3.725 GB, free: 1.645 MB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/9.359, allocations: 403.5 kB / 3.725 GB, free: 1.254 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/9.36, allocations: 0.5944 MB / 3.726 GB, free: 0.5859 MB / 1.171 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009092/9.369, allocations: 2.571 MB / 3.728 GB, free: 14.01 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/9.369, allocations: 4 kB / 3.728 GB, free: 14 MB / 1.187 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.04568/9.415, allocations: 32.24 MB / 3.76 GB, free: 14.61 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/9.415, allocations: 10.34 kB / 3.76 GB, free: 14.61 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/9.415, allocations: 4 kB / 3.76 GB, free: 14.6 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/9.418, allocations: 0.7032 MB / 3.76 GB, free: 13.9 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/9.419, allocations: 183.7 kB / 3.761 GB, free: 13.72 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/9.431, allocations: 6.457 MB / 3.767 GB, free: 7.074 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03675/9.468, allocations: 61.69 kB / 3.767 GB, free: 7.02 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/9.468, allocations: 48.05 kB / 3.767 GB, free: 6.973 MB / 1.202 GB Warning: Assuming fixed start value for the following 1 variables: Motor3.epr:VARIABLE(unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.PST_Voltage.nextTimeEvent,$whenCondition4,PST_Voltage.nextTimeEventScaled,$PRE.PST_Voltage.nextTimeEventScaled,PST_Voltage.nextTimeEvent,$PRE.PST_Slip.nextTimeEvent,$whenCondition3,PST_Slip.nextTimeEventScaled,$PRE.PST_Slip.nextTimeEventScaled,PST_Slip.nextTimeEvent,$PRE.PST_Pmotor.nextTimeEvent,$whenCondition2,PST_Pmotor.nextTimeEventScaled,$PRE.PST_Pmotor.nextTimeEventScaled,PST_Pmotor.nextTimeEvent,$PRE.PST_Qmotor.nextTimeEvent,$whenCondition1,PST_Qmotor.nextTimeEventScaled,$PRE.PST_Qmotor.nextTimeEventScaled,PST_Qmotor.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 1.214/10.68, allocations: 85.87 MB / 3.851 GB, free: 272 MB / 1.203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04065/10.72, allocations: 30.34 MB / 3.881 GB, free: 263.9 MB / 1.203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1189/10.84, allocations: 40.2 MB / 3.92 GB, free: 236.4 MB / 1.203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/10.84, allocations: 3.328 kB / 3.92 GB, free: 236.4 MB / 1.203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/10.84, allocations: 7.938 kB / 3.92 GB, free: 236.4 MB / 1.203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05041/10.89, allocations: 23.69 MB / 3.943 GB, free: 229.5 MB / 1.203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02777/10.92, allocations: 26.19 kB / 3.943 GB, free: 229.5 MB / 1.203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03431/10.95, allocations: 41.61 kB / 3.943 GB, free: 229.5 MB / 1.203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/10.96, allocations: 178.2 kB / 3.943 GB, free: 229.4 MB / 1.203 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004147/10.96, allocations: 1.923 MB / 3.945 GB, free: 228.2 MB / 1.203 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03852/11, allocations: 34.61 MB / 3.979 GB, free: 193.8 MB / 1.203 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007159/11, allocations: 402.2 kB / 3.979 GB, free: 193.6 MB / 1.203 GB Notification: Performance of sorting global known variables: time 1.812/12.81, allocations: 0.5504 GB / 4.53 GB, free: 151.4 MB / 1.203 GB Notification: Performance of Backend: time 1.743e-06/12.81, allocations: 3.625 kB / 4.53 GB, free: 151.4 MB / 1.203 GB Notification: Performance of simCode: created initialization part: time 0.1165/12.93, allocations: 102.1 MB / 4.629 GB, free: 86.53 MB / 1.203 GB Notification: Performance of SimCode: time 1.547/14.47, allocations: 0.5731 GB / 5.203 GB, free: 36.48 MB / 1.203 GB Notification: Performance of Templates: time 113.7/128.1, allocations: 325.4 MB / 5.52 GB, free: 160.2 MB / 1.203 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeIII.pipe 2>&1)