Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.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: "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3313/0.3313, allocations: 78.54 MB / 94.04 MB, free: 3.816 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.0009501/0.0009501, allocations: 107.5 kB / 113.6 MB, free: 9.887 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.001089/0.00109, allocations: 184 kB / 133.3 MB, free: 6.246 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.223/1.223, allocations: 222.9 MB / 375.7 MB, free: 3.848 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.5661/0.5661, allocations: 62.27 MB / 0.4949 GB, free: 7.871 MB / 366.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.002085/0.002085, allocations: 131.8 kB / 0.5751 GB, free: 6.523 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.378, allocations: 69.49 MB / 0.643 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.003705/0.3818, allocations: 4.054 MB / 0.6469 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3834, allocations: 1.25 MB / 0.6482 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.3836, allocations: 4.781 kB / 0.6482 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3839, allocations: 135.7 kB / 0.6483 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.3843, allocations: 250.6 kB / 0.6485 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.3853, allocations: 0.6166 MB / 0.6491 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.3859, allocations: 0.853 MB / 0.65 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.3861, allocations: 156.8 kB / 0.6501 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.3864, allocations: 374.3 kB / 0.6505 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.3869, allocations: 493.1 kB / 0.6509 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.387, allocations: 69.09 kB / 0.651 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.3872, allocations: 127.6 kB / 0.6511 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3873, allocations: 185.7 kB / 0.6513 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3875, allocations: 364.6 kB / 0.6516 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.3881, allocations: 0.9 MB / 0.6525 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3881, allocations: 0 / 0.6525 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3881, allocations: 1.375 kB / 0.6525 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3881, allocations: 4 kB / 0.6525 GB, free: 10.79 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004223/0.3924, allocations: 1.568 MB / 0.6541 GB, free: 9.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3924, allocations: 9.938 kB / 0.6541 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/0.3925, allocations: 84.58 kB / 0.6542 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.3948, allocations: 403.7 kB / 0.6545 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3954, allocations: 0.5246 MB / 0.6551 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3955, allocations: 131.4 kB / 0.6552 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.3956, allocations: 56.28 kB / 0.6552 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3967, allocations: 0.661 MB / 0.6559 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3967, allocations: 3.938 kB / 0.6559 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.3968, allocations: 27.48 kB / 0.6559 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3968, allocations: 10.62 kB / 0.6559 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3979, allocations: 0.6215 MB / 0.6565 GB, free: 8.199 MB / 446.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.002568/0.4005, allocations: 1.924 MB / 0.6584 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4016, allocations: 0.7843 MB / 0.6592 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.4023, allocations: 483.2 kB / 0.6596 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.4024, allocations: 20.42 kB / 0.6596 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.4024, allocations: 35.12 kB / 0.6597 GB, free: 5.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 1.924e-06/0.4024, allocations: 4 kB / 0.6597 GB, free: 5.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01315/0.4155, allocations: 3.913 MB / 0.6635 GB, free: 1.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.4156, allocations: 89.61 kB / 0.6636 GB, free: 1.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.4161, allocations: 0.5224 MB / 0.6641 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.4162, allocations: 37.7 kB / 0.6641 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4163, allocations: 273.2 kB / 0.6644 GB, free: 0.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.4165, allocations: 224.8 kB / 0.6646 GB, free: 412 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.4166, allocations: 98.25 kB / 0.6647 GB, free: 304 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.4167, allocations: 366.8 kB / 0.6651 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.4175, allocations: 377.1 kB / 0.6654 GB, free: 15.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.4183, allocations: 462.6 kB / 0.6659 GB, free: 15.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.4199, allocations: 0.8424 MB / 0.6667 GB, free: 14.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4199, allocations: 0 / 0.6667 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01167/0.4316, allocations: 2.948 MB / 0.6696 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4317, allocations: 8 kB / 0.6696 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4317, allocations: 3.938 kB / 0.6696 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008968/0.4407, allocations: 1.839 MB / 0.6714 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.441, allocations: 59.91 kB / 0.6714 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4591, allocations: 8.325 MB / 0.6796 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/0.46, allocations: 83.41 kB / 0.6796 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.46, allocations: 20 kB / 0.6797 GB, free: 0.7617 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.4603, allocations: 177.8 kB / 0.6798 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4605, allocations: 71.17 kB / 0.6799 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008134/0.4686, allocations: 2.558 MB / 0.6824 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4686, allocations: 11.94 kB / 0.6824 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4686, allocations: 4 kB / 0.6824 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.4687, allocations: 3.984 kB / 0.6824 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.478, allocations: 3.529 MB / 0.6859 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.478, allocations: 3.938 kB / 0.6859 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.4784, allocations: 71.84 kB / 0.6859 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/0.4827, allocations: 1.164 MB / 0.6871 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.4828, allocations: 23.94 kB / 0.6871 GB, free: 9.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.4941, allocations: 5.688 MB / 0.6926 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4941, allocations: 0 / 0.6926 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/0.5034, allocations: 3.23 MB / 0.6958 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.5036, allocations: 156.1 kB / 0.6959 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.5037, allocations: 15.94 kB / 0.696 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.5044, allocations: 51.95 kB / 0.696 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.5048, allocations: 124.4 kB / 0.6961 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.5048, allocations: 16 kB / 0.6961 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.5053, allocations: 378.8 kB / 0.6965 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5053, allocations: 0 / 0.6965 GB, free: 15.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008405/0.5061, allocations: 271.8 kB / 0.6968 GB, free: 14.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.s,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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009386/0.5155, allocations: 3.779 MB / 0.7005 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00382/0.5193, allocations: 1.474 MB / 0.7019 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5194, allocations: 0 / 0.7019 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.5219, allocations: 0.9621 MB / 0.7028 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.5225, allocations: 56.19 kB / 0.7029 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/0.5519, allocations: 10.5 MB / 0.7131 GB, free: 13.94 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.5524, allocations: 0.9074 MB / 0.714 GB, free: 13 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.5527, allocations: 48.56 kB / 0.7141 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.553, allocations: 227.3 kB / 0.7143 GB, free: 12.73 MB / 0.4982 GB Notification: Performance of SimCode: time 6.92e-07/0.5531, allocations: 0 / 0.7143 GB, free: 12.73 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.6011, allocations: 23.04 MB / 0.7368 GB, free: 5.926 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11, allocations: 8.938 kB / 0.7368 GB, free: 5.918 MB / 0.5138 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)