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.3734/0.3734, allocations: 78.54 MB / 94.84 MB, free: 3.859 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.001219/0.001219, allocations: 115.9 kB / 114.4 MB, free: 9.793 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.001401/0.001401, allocations: 183.6 kB / 134.1 MB, free: 6.145 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.461/1.461, allocations: 222.9 MB / 376.5 MB, free: 3.762 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6494/0.6494, allocations: 62.26 MB / 0.4957 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 133.4 kB / 0.6448 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.162, allocations: 69.51 MB / 0.7127 GB, free: 13.45 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI): time 0.00949/0.1716, allocations: 7.61 MB / 0.7201 GB, free: 5.797 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.1765, allocations: 1.817 MB / 0.7219 GB, free: 3.969 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.1782, allocations: 19.94 kB / 0.7219 GB, free: 3.949 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.1793, allocations: 237.8 kB / 0.7221 GB, free: 3.715 MB / 0.4982 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.002219/0.1816, allocations: 0.5081 MB / 0.7226 GB, free: 3.203 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.1834, allocations: 0.7001 MB / 0.7233 GB, free: 2.504 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.1858, allocations: 1.652 MB / 0.7249 GB, free: 0.8477 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.1865, allocations: 434.2 kB / 0.7253 GB, free: 408 kB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.1875, allocations: 0.6536 MB / 0.726 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.1885, allocations: 0.7817 MB / 0.7267 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.1888, allocations: 136 kB / 0.7269 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.1892, allocations: 199.9 kB / 0.7271 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.1895, allocations: 318.7 kB / 0.7274 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.1901, allocations: 0.707 MB / 0.7281 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1922, allocations: 1.7 MB / 0.7297 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1922, allocations: 0 / 0.7297 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1922, allocations: 0 / 0.7297 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.815e-05/0.1922, allocations: 0 / 0.7297 GB, free: 11.9 MB / 0.5138 GB 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.004517/0.1968, allocations: 1.93 MB / 0.7316 GB, free: 9.914 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1968, allocations: 12.03 kB / 0.7316 GB, free: 9.902 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.1995, allocations: 491.5 kB / 0.7321 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.2008, allocations: 0.8087 MB / 0.7329 GB, free: 8.57 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.2009, allocations: 115.6 kB / 0.733 GB, free: 8.449 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2011, allocations: 100 kB / 0.7331 GB, free: 8.352 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2028, allocations: 1.058 MB / 0.7341 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.2029, allocations: 0 / 0.7341 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.203, allocations: 40 kB / 0.7342 GB, free: 7.234 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.203, allocations: 28 kB / 0.7342 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2045, allocations: 0.9212 MB / 0.7351 GB, free: 6.281 MB / 0.5138 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.006661/0.2112, allocations: 4.242 MB / 0.7392 GB, free: 1.82 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2129, allocations: 1.404 MB / 0.7406 GB, free: 276 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008205/0.2137, allocations: 0.5129 MB / 0.7411 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-05/0.2138, allocations: 24.89 kB / 0.7411 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.2138, allocations: 47.5 kB / 0.7412 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.2138, allocations: 0 / 0.7412 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=106): time 0.01338/0.2272, allocations: 4.582 MB / 0.7456 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.2273, allocations: 90.11 kB / 0.7457 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2285, allocations: 0.8764 MB / 0.7466 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.2286, allocations: 45.7 kB / 0.7466 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.229, allocations: 0.5438 MB / 0.7472 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.2293, allocations: 388.6 kB / 0.7475 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.2296, allocations: 174.9 kB / 0.7477 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2297, allocations: 349.9 kB / 0.748 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.2304, allocations: 378.5 kB / 0.7484 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.2312, allocations: 0.568 MB / 0.7489 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2327, allocations: 1.003 MB / 0.7499 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2327, allocations: 0 / 0.7499 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005156/0.2379, allocations: 1.982 MB / 0.7519 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2379, allocations: 8 kB / 0.7519 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2379, allocations: 7.984 kB / 0.7519 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.241, allocations: 0.7631 MB / 0.7526 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.2419, allocations: 187.7 kB / 0.7528 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.2535, allocations: 6.604 MB / 0.7592 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.2548, allocations: 51.98 kB / 0.7593 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.2549, allocations: 39.98 kB / 0.7593 GB, free: 12.48 MB / 0.545 GB 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.0005772/0.2555, allocations: 251.1 kB / 0.7596 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.2559, allocations: 123.2 kB / 0.7597 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/0.261, allocations: 1.892 MB / 0.7615 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.2611, allocations: 12 kB / 0.7615 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2611, allocations: 0 / 0.7615 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2611, allocations: 15.91 kB / 0.7616 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.2688, allocations: 3.407 MB / 0.7649 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.2688, allocations: 3.938 kB / 0.7649 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/0.2695, allocations: 147.8 kB / 0.765 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/0.2722, allocations: 0.7236 MB / 0.7657 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/0.2723, allocations: 20 kB / 0.7658 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.2824, allocations: 6.028 MB / 0.7716 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2824, allocations: 8 kB / 0.7717 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006541/0.289, allocations: 2.595 MB / 0.7742 GB, free: 12.79 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.2897, allocations: 280.1 kB / 0.7745 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.29, allocations: 20 kB / 0.7745 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.291, allocations: 40.16 kB / 0.7745 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.2913, allocations: 100.9 kB / 0.7746 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.2914, allocations: 32 kB / 0.7746 GB, free: 12.31 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.000923/0.2923, allocations: 0.6064 MB / 0.7752 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2924, allocations: 0 / 0.7752 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.001426/0.2938, allocations: 344 kB / 0.7756 GB, free: 11.36 MB / 0.5607 GB 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.0002656/0.2941, allocations: 133.8 kB / 0.7757 GB, free: 11.22 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.2976, allocations: 1.571 MB / 0.7772 GB, free: 9.617 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2976, allocations: 0 / 0.7772 GB, free: 9.617 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.3, allocations: 1.076 MB / 0.7783 GB, free: 8.523 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3011, allocations: 130.8 kB / 0.7784 GB, free: 8.398 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.3058, allocations: 2.443 MB / 0.7808 GB, free: 5.898 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/0.3067, allocations: 1.118 MB / 0.7819 GB, free: 4.746 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.3071, allocations: 79.36 kB / 0.782 GB, free: 4.668 MB / 0.5607 GB Notification: Performance of SimCode: time 1.212e-06/0.3071, allocations: 4 kB / 0.782 GB, free: 4.664 MB / 0.5607 GB Notification: Performance of Templates: time 0.6586/0.9656, allocations: 23.48 MB / 0.8049 GB, free: 82.31 MB / 0.5764 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 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe 2>&1)