Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.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.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.381/0.381, allocations: 78.55 MB / 94.8 MB, free: 3.855 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.001073/0.001073, allocations: 110.7 kB / 114.4 MB, free: 9.816 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.00123/0.00123, allocations: 187.7 kB / 134 MB, free: 6.168 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.337/1.337, allocations: 222.9 MB / 376.4 MB, free: 3.777 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6284/0.6284, allocations: 62.28 MB / 0.4957 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 127.8 kB / 0.5764 GB, free: 5.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4372, allocations: 69.5 MB / 0.6443 GB, free: 18.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI): time 0.006803/0.444, allocations: 7.597 MB / 0.6517 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.4476, allocations: 1.829 MB / 0.6535 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.4484, allocations: 17.69 kB / 0.6535 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.449, allocations: 236 kB / 0.6537 GB, free: 10.45 MB / 446.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.001151/0.4502, allocations: 484.4 kB / 0.6542 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.4515, allocations: 0.7028 MB / 0.6549 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.4532, allocations: 1.655 MB / 0.6565 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.4538, allocations: 435.5 kB / 0.6569 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008051/0.4546, allocations: 0.6517 MB / 0.6576 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008446/0.4554, allocations: 0.7761 MB / 0.6583 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.4557, allocations: 133.8 kB / 0.6584 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.4561, allocations: 204 kB / 0.6586 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.4563, allocations: 325.3 kB / 0.659 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.4568, allocations: 0.6963 MB / 0.6596 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4582, allocations: 1.695 MB / 0.6613 GB, free: 5.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4582, allocations: 0 / 0.6613 GB, free: 5.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4583, allocations: 0 / 0.6613 GB, free: 5.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.4583, allocations: 4 kB / 0.6613 GB, free: 5.148 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00388/0.4622, allocations: 1.883 MB / 0.6631 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4622, allocations: 12.02 kB / 0.6631 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.4648, allocations: 486.7 kB / 0.6636 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.4659, allocations: 0.8039 MB / 0.6644 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.466, allocations: 111.7 kB / 0.6645 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4661, allocations: 99.91 kB / 0.6646 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.4676, allocations: 1.062 MB / 0.6656 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.4676, allocations: 3.938 kB / 0.6656 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.4677, allocations: 40 kB / 0.6657 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.4677, allocations: 28 kB / 0.6657 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.4691, allocations: 0.9135 MB / 0.6666 GB, free: 15.78 MB / 462.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.007613/0.4767, allocations: 4.23 MB / 0.6707 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.4785, allocations: 1.404 MB / 0.6721 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.4794, allocations: 0.5088 MB / 0.6726 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.4795, allocations: 24.97 kB / 0.6726 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4795, allocations: 43.5 kB / 0.6727 GB, free: 9.191 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 2.825e-06/0.4795, allocations: 0 / 0.6727 GB, free: 9.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.01269/0.4922, allocations: 4.559 MB / 0.6771 GB, free: 4.551 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4923, allocations: 94.11 kB / 0.6772 GB, free: 4.441 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.4934, allocations: 0.8724 MB / 0.678 GB, free: 3.547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.4935, allocations: 45.7 kB / 0.6781 GB, free: 3.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.4939, allocations: 0.5349 MB / 0.6786 GB, free: 2.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.4942, allocations: 374.5 kB / 0.679 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.4945, allocations: 174.9 kB / 0.6791 GB, free: 2.406 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4946, allocations: 349.9 kB / 0.6795 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.4953, allocations: 386.4 kB / 0.6798 GB, free: 1.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.4961, allocations: 0.5563 MB / 0.6804 GB, free: 1.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4976, allocations: 1.003 MB / 0.6814 GB, free: 15.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4976, allocations: 4 kB / 0.6814 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005042/0.5026, allocations: 1.973 MB / 0.6833 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5027, allocations: 10.5 kB / 0.6833 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5027, allocations: 4 kB / 0.6833 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.5056, allocations: 0.7637 MB / 0.6841 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.5064, allocations: 187.7 kB / 0.6842 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.517, allocations: 6.6 MB / 0.6907 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.5181, allocations: 44.03 kB / 0.6907 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.5182, allocations: 47.92 kB / 0.6908 GB, free: 6.055 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (AC2DC_and_DC2AC.switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 103 * 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 {(11,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004646/0.5187, allocations: 249.6 kB / 0.691 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.5189, allocations: 118.7 kB / 0.6911 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.5237, allocations: 1.888 MB / 0.693 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.5237, allocations: 12 kB / 0.693 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5237, allocations: 0 / 0.693 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.5238, allocations: 7.969 kB / 0.693 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/0.5307, allocations: 3.415 MB / 0.6963 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5308, allocations: 192 / 0.6963 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.5315, allocations: 147.8 kB / 0.6965 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.5342, allocations: 0.7319 MB / 0.6972 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.5343, allocations: 20 kB / 0.6972 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/0.5434, allocations: 6.026 MB / 0.7031 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5435, allocations: 7.938 kB / 0.7031 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.5492, allocations: 2.586 MB / 0.7056 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/0.5498, allocations: 271.6 kB / 0.7059 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.55, allocations: 20 kB / 0.7059 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.5508, allocations: 39.97 kB / 0.7059 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.551, allocations: 100.9 kB / 0.706 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.5511, allocations: 28 kB / 0.706 GB, free: 5.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007405/0.5518, allocations: 0.6025 MB / 0.7066 GB, free: 5.289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5519, allocations: 0 / 0.7066 GB, free: 5.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001072/0.5529, allocations: 344 kB / 0.707 GB, free: 4.953 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (inf1.delta,inf1.eq,Motor1VSD.s,Motor1VSD.speed.phi,AC2DC_and_DC2AC.Inductor.i,AC2DC_and_DC2AC.Capacitor.v,inf1.omega) * Number of discrete variables: 1 (AC2DC_and_DC2AC.switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * 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 {(11,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.5531, allocations: 135.1 kB / 0.7071 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003218/0.5564, allocations: 1.56 MB / 0.7086 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5564, allocations: 3.938 kB / 0.7086 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.5586, allocations: 1.068 MB / 0.7097 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.5596, allocations: 131.5 kB / 0.7098 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.5633, allocations: 2.364 MB / 0.7121 GB, free: 15.59 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.564, allocations: 1.115 MB / 0.7132 GB, free: 14.45 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.5644, allocations: 99.8 kB / 0.7133 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.5646, allocations: 75.42 kB / 0.7134 GB, free: 14.27 MB / 0.4982 GB Notification: Performance of SimCode: time 6.11e-07/0.5646, allocations: 0 / 0.7134 GB, free: 14.27 MB / 0.4982 GB Notification: Performance of Templates: time 0.02664/0.5913, allocations: 16.85 MB / 0.7298 GB, free: 13.52 MB / 0.5138 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe 2>&1)